Update codecov config to include separate tests and lib sub-projects (#788)
* Update codecov config to include separate tests and lib sub-projects * Yaml lint
This commit is contained in:
parent
54baf62bea
commit
78d20d98f6
14
codecov.yml
14
codecov.yml
|
@ -6,9 +6,21 @@ codecov:
|
||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
project:
|
project:
|
||||||
default:
|
default: false # disable the default status that measures entire project
|
||||||
|
# examples: # declare a new status context "examples"
|
||||||
|
tests: # declare a new status context "tests"
|
||||||
|
# target: 100% # we always want 100% coverage here
|
||||||
|
paths:
|
||||||
|
- "tests/" # only include coverage in "tests/" folder
|
||||||
|
lib: # declare a new status context "lib"
|
||||||
|
paths:
|
||||||
|
- "!tests/" # remove all files in "tests/"
|
||||||
threshold: 1%
|
threshold: 1%
|
||||||
patch:
|
patch:
|
||||||
default:
|
default:
|
||||||
|
target: auto
|
||||||
|
base: auto
|
||||||
threshold: 1%
|
threshold: 1%
|
||||||
|
comment:
|
||||||
|
require_changes: true
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue