coverage: add initial .codecov.yml config (#6873)

* coverage: remove reach graph from comment

* coverage: add patch status coverage target
This commit is contained in:
Mike Morris 2019-12-09 15:52:50 -05:00 committed by GitHub
parent 34649b8820
commit 82cf8f285f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

33
.codecov.yml Normal file
View File

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