Merge pull request #7189 from filecoin-project/ci/code-cov-ignore

ci: exclude cruft from code coverage
This commit is contained in:
Steven Allen 2021-08-26 13:01:00 -07:00 committed by GitHub
commit c664f9e30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
status:
patch: off
@ -36,7 +51,7 @@ coverage:
informational: false
paths:
- "chain"
node:
node:
target: auto
threshold: 0.5%
informational: false
@ -55,4 +70,4 @@ coverage:
informational: true
paths:
- "cli"
- "cmd"
- "cmd"