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
# codecov.yml - Codecov configuration for DCG
# Docs: https://docs.codecov.com/docs/codecov-yaml
codecov:
require_ci_to_pass: true
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
# Match our CI-enforced threshold
target: 70%
threshold: 2% # Allow 2% fluctuation without failing
patch:
default:
# New code should have high coverage
target: 80%
threshold: 5%
comment:
layout: "reach,diff,flags,tree,betaprofiling"
behavior: default
require_changes: true
require_base: false
require_head: true
ignore:
- "tests/**"
- "benches/**"
- "fuzz/**"
- "*.md"
- "scripts/**"
flags:
unittests:
paths:
- src/
carryforward: true