-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcodecov.yml
More file actions
28 lines (28 loc) · 879 Bytes
/
codecov.yml
File metadata and controls
28 lines (28 loc) · 879 Bytes
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
28
ignore:
- "src/bin"
- "src/lib.rs"
- "src/error.rs"
- "src/models/err.rs"
- "src/parser/iters.rs"
- "src/parser/bgp/attributes/mod.rs" # test covered in individual attribute
- "src/parser/mrt/mrt_elem.rs"
- "src/parser/bmp/mod.rs"
coverage:
status:
project:
default:
target: auto
# adjust accordingly based on how flaky your tests are
# this allows a 10% drop from the previous base commit coverage
threshold: 10%
# make coverage check informational (non-blocking)
informational: true
patch:
default:
# make patch coverage check informational (non-blocking)
informational: true
# Ensure Codecov waits for all statuses to be reported before posting a comment
# This helps avoid posting coverage reports on incomplete CI runs
comment:
require_changes: true
require_base: true