Merge pull request #7189 from filecoin-project/ci/code-cov-ignore
ci: exclude cruft from code coverage
This commit is contained in:
commit
c664f9e30c
19
.codecov.yml
19
.codecov.yml
@ -1,3 +1,18 @@
|
|||||||
|
ignore:
|
||||||
|
# Auto generated
|
||||||
|
- "^.*_gen.go$"
|
||||||
|
- "^.*/mock_full.go$"
|
||||||
|
# Old actors.
|
||||||
|
- "^chain/actors/builtin/[^/]*/(message|state|v)[0-4]\\.go$" # We test the latest version only.
|
||||||
|
# Tests
|
||||||
|
- "api/test/**"
|
||||||
|
- "conformance/**"
|
||||||
|
# Generators
|
||||||
|
- "gen/**"
|
||||||
|
- "chain/actors/agen/**"
|
||||||
|
# Non-critical utilities
|
||||||
|
- "api/docgen/**"
|
||||||
|
- "api/docgen-openrpc/**"
|
||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
patch: off
|
patch: off
|
||||||
@ -36,7 +51,7 @@ coverage:
|
|||||||
informational: false
|
informational: false
|
||||||
paths:
|
paths:
|
||||||
- "chain"
|
- "chain"
|
||||||
node:
|
node:
|
||||||
target: auto
|
target: auto
|
||||||
threshold: 0.5%
|
threshold: 0.5%
|
||||||
informational: false
|
informational: false
|
||||||
@ -55,4 +70,4 @@ coverage:
|
|||||||
informational: true
|
informational: true
|
||||||
paths:
|
paths:
|
||||||
- "cli"
|
- "cli"
|
||||||
- "cmd"
|
- "cmd"
|
||||||
|
Loading…
Reference in New Issue
Block a user