mirror of https://github.com/status-im/consul.git
coverage: add initial .codecov.yml config (#6873)
* coverage: remove reach graph from comment * coverage: add patch status coverage target
This commit is contained in:
parent
34649b8820
commit
82cf8f285f
|
@ -0,0 +1,33 @@
|
||||||
|
# https://docs.codecov.io/docs/commit-status
|
||||||
|
coverage:
|
||||||
|
status:
|
||||||
|
# only measure diff changes, not unexpected project changes from flakiness
|
||||||
|
project: no
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
# https://docs.codecov.io/docs/commit-status#section-threshold
|
||||||
|
target: 70
|
||||||
|
# https://docs.codecov.io/docs/commit-status#section-excluding-tests-example-
|
||||||
|
# TODO: should any paths be excluded from coverage metrics?
|
||||||
|
# paths:
|
||||||
|
# https://docs.codecov.io/docs/commit-status#section-changes-status
|
||||||
|
# TODO: enable after eliminating current unexpected coverage changes
|
||||||
|
changes: no
|
||||||
|
|
||||||
|
# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml
|
||||||
|
# TODO: experiment with changing these values?
|
||||||
|
# parsers:
|
||||||
|
# gcov:
|
||||||
|
# branch_detection:
|
||||||
|
# conditional: yes
|
||||||
|
# loop: yes
|
||||||
|
# method: no
|
||||||
|
# macro: no
|
||||||
|
|
||||||
|
# https://docs.codecov.io/docs/pull-request-comments#section-layout
|
||||||
|
comment:
|
||||||
|
layout: "diff,flags,tree"
|
||||||
|
|
||||||
|
# https://docs.codecov.io/docs/flags
|
||||||
|
# TODO: split out test coverage for API, SDK, UI, website?
|
||||||
|
# flags:
|
Loading…
Reference in New Issue