codecov: ignore generated and non-essential code

1. Ignore debugging/testing commands.
2. Ignore build related code.
3. Ignore all generated "mocks" code.
4. Ignore all *_gen.go files.
5. Ignore old actors shims.
This commit is contained in:
Steven Allen 2021-08-11 11:53:26 -07:00
parent 498644acab
commit b2714e19d5

View File

@ -1,19 +1,29 @@
comment: off
ignore:
- "**/cbor_gen.go"
- "api/test/**/*"
- "api/test/*"
- "gen/**/*"
- "gen/*"
- "cmd/lotus-shed/*"
- "cmd/tvx/*"
- "cmd/lotus-pcr/*"
- "cmd/tvx/*"
- "cmd/lotus-chainwatch/*"
- "cmd/lotus-health/*"
- "cmd/lotus-fountain/*"
- "cmd/lotus-townhall/*"
- "cmd/lotus-stats/*"
- "cmd/lotus-pcr/*"
# Auto generated
- "**_gen.go$"
- "**/mocks_full.go$"
- "^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
- "cmd/lotus-shed/**"
- "cmd/tvx/**"
- "cmd/lotus-pcr/**"
- "cmd/tvx/**"
- "cmd/lotus-health/**"
- "cmd/lotus-fountain/**"
- "cmd/lotus-stats/**"
- "cmd/lotus-pcr/**"
- "cmd/lotus-sim/**"
- "cmd/lotus-bench/**"
- "cmd/lotus-seed/**"
- "cmd/chain-noise/**"
- "api/docgen/**"
- "api/docgen-openrpc/**"
github_checks:
annotations: false