-
Notifications
You must be signed in to change notification settings - Fork 19
/
codecov.yml
27 lines (26 loc) · 1.34 KB
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
coverage:
precision: 2
round: down
range: "60...100"
status: # this controls whether a pull request will be blocked by a decrease in coverage
# Learn more at https://docs.codecov.com/docs/commit-status
project:
default:
threshold: 7% # allows coverage to drop by up to the percent noted and still post a success status
informational: false # If true is specified the resulting status will pass no matter what the coverage is or what other settings are specified
patch:
default:
target: 0% # No target for patches
only_pulls: true
# Patches should be informational only as many things can throw off the patch information
informational: true # If true is specified the resulting status will pass no matter what the coverage is or what other settings are specified
ignore:
- "node" # ignore folders and all its contents
- "runtime" # ignore folders and all its contents
- "**/weights.rs" # Ignore weights
- "**/benchmarking.rs" # Ignore benchmarking
- "**/benchmarks.rs" # Ignore benchmarking
- "**/*tests.rs" # Ignore test files for coverage
- "**/tests/*.rs" # Ignore test files for coverage
- "**/*mock.rs" # Ignore test mock files for coverage
- "**/*runtime-api/src/lib.rs" # Ignore runtime-api libraries that are just traits