-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.codecov.yml
More file actions
21 lines (21 loc) · 811 Bytes
/
.codecov.yml
File metadata and controls
21 lines (21 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
codecov:
require_ci_to_pass: true
coverage:
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code
status:
project:
default: # settings affecting project coverage
enabled: true # auto % coverage target
threshold: "5%" # allow for 5% reduction of coverage without failing
# do not run coverage on patch nor changes
target: false
patch: false
changes: false
ignore:
- "src/bin" # don't consider binaries in coverage report
- "src/api" # Ignore autogenerated api
- "tests" # we also don't care about coverage of test code
- "benches" # or coverage of benchmarks
- "protos" # coverage for protos are not necessary either
- "migrations" # exclude database stuff necessary either
- "migrations" # exclude database stuff