.codecov.yml
codecov:
require_ci_to_pass: false
# Team Yaml
coverage:
round: down
precision: 5
status:
project:
default:
target: auto
threshold: 25%
patch:
default:
threshold: 5%
# from go.work file
flags:
# note: go.work flags should be in order of the directory structure
# also, if you're using multiple module names, you're doing something wrong
agents:
paths:
- agents/
carryforward: true
screener-api:
paths:
- contrib/screener-api/
carryforward: true
git-changes-action:
paths:
- contrib/git-changes-action/
carryforward: true
golang-ci-lint:
paths:
- contrib/golang-ci-lint/
carryforward: true
opbot:
paths:
- contrib/opbot/
carryforward: true
core:
paths:
- core/
carryforward: true
ethergo:
paths:
- ethergo/
carryforward: true
cctp-relayer:
paths:
- services/cctp-relayer/
carryforward: true
rfq:
paths:
- services/rfq/
carryforward: true
explorer:
paths:
- services/explorer/
carryforward: true
omnirpc:
paths:
- services/omnirpc/
carryforward: true
scribe:
paths:
- services/scribe/
carryforward: true
solidity-core:
paths:
- packages/contracts-core/
carryforward: true
solidity-rfq:
paths:
- packages/contracts-rfq/
carryforward: true
tools:
paths:
- tools/
carryforward: true
packages:
paths:
- packages/coverage-aggregator/
- packages/explorer-ui/
- packages/sdk-router/
- packages/widget/
carryforward: true
restclient:
paths:
- contrib/restclient/
carryforward: true
ignore:
- '**/*_generated.go'
- '**/*.abigen.go'
- '**/*_string.go'
- '**/*_gen.go'
- '**/*.pb.go'
# solidity test files
- '**/test/**.sol'
- '*/lib/*.sol'
- 'packages/contracts-core/contracts/libs/*.sol'
- 'packages/contracts-core/script/**.sol'
- 'packages/contracts-core/test/**.sol'
- 'services/scribe/grpc/client/*'
- '**/graphql/server/graph/resolver/*'
- '**/mocks/**.go'