-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
57 lines (51 loc) · 1.16 KB
/
codecov.yml
File metadata and controls
57 lines (51 loc) · 1.16 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
# Codecov configuration
# https://docs.codecov.io/docs/codecov-yaml
coverage:
# Overall project coverage settings
# Target: 80%, Current: ~62% (incrementally increasing)
status:
project:
default:
target: 60% # Current threshold (goal: 80%)
threshold: 2% # Allow 2% drop without failing
if_ci_failed: error
patch:
default:
target: 70% # New code should have higher coverage
threshold: 5% # Allow 5% tolerance for patches
# Precision of coverage percentage
precision: 2
round: down
range: "70...100"
# Parser settings
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
# Comment settings for PRs
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: true
require_base: false
require_head: true
# Ignore patterns
ignore:
- "tests/**/*"
- "benchmarks/**/*"
- "docs/**/*"
- "**/__pycache__/**"
- "**/conftest.py"
# Flag management for different test types
flags:
native:
paths:
- src/
carryforward: true
python-fallback:
paths:
- src/
carryforward: true