open-consul/.codecov.yml
Mike Morris 41e98e273c
coverage: add initial .codecov.yml config (#6873)
* coverage: remove reach graph from comment

* coverage: add patch status coverage target
2019-12-09 15:52:50 -05:00

34 lines
1 KiB
YAML

# 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: