-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
63 lines (54 loc) · 1.18 KB
/
Copy pathcodecov.yml
File metadata and controls
63 lines (54 loc) · 1.18 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Codecov configuration
# https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
project:
default:
# Project must have at least 70% coverage
target: 70%
# Allow up to 2% drop in coverage
threshold: 2%
# Only post status if coverage changes
if_ci_failed: error
patch:
default:
# New code should have at least 80% coverage
target: 80%
threshold: 5%
if_ci_failed: error
precision: 2
round: down
range: "60...90"
# Configure flags for different components
flags:
rust-core:
paths:
- crates/feedparser-rs-core/src/
carryforward: true
python-bindings:
paths:
- crates/feedparser-rs-py/src/
carryforward: true
node-bindings:
paths:
- crates/feedparser-rs-node/src/
carryforward: true
# Comment configuration
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: false
require_base: false
require_head: true
# Ignore these paths from coverage
ignore:
- "tests/"
- "benches/"
- "examples/"
- "*/tests/*"
- "*/benches/*"
- "**/tests.rs"
- "**/test_*.rs"
# GitHub checks
github_checks:
annotations: true