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
# Codecov configuration
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
# Coverage precision (number of decimal places)
precision: 2
# Round coverage values
round: down
# Range of coverage colors (red to green)
range: "70...100"
status:
# Project-level coverage requirements
project:
default:
target: 95%
threshold: 1%
# Only check against the files that were changed + existing coverage
if_ci_failed: error
# Patch coverage (for new code in PRs)
patch:
default:
target: 90%
threshold: 1%
if_ci_failed: error
# Ignore generated and non-essential files
ignore:
- "src/transport/proto/**/*"
- "examples/**/*"
- "benches/**/*"
- "tests/**/*"
# Comment configuration for PRs
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: true
require_base: false
require_head: true
# Flag management for different test types
flags:
unit:
paths:
- src/
carryforward: true
integration:
paths:
- src/
carryforward: true
# GitHub integration settings
github_checks:
annotations: true