-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
55 lines (49 loc) · 1.09 KB
/
codecov.yml
File metadata and controls
55 lines (49 loc) · 1.09 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
# Codecov Configuration for common_system
# https://docs.codecov.com/docs/codecovyml-reference
codecov:
require_ci_to_pass: yes
coverage:
precision: 2
round: down
range: "40...80"
status:
project:
default:
target: 40%
threshold: 2%
if_ci_failed: error
informational: true # Don't block PRs on coverage status
patch:
default:
target: 60%
threshold: 5%
if_ci_failed: error
informational: true # Don't block PRs on coverage status
# Gradual improvement plan:
# - Phase 1 (Current): 40% project, 60% patch
# - Phase 2: 50% project, 70% patch
# - Phase 3: 60% project, 80% patch
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
ignore:
- "tests/**/*"
- "benchmarks/**/*"
- "examples/**/*"
- "integration_tests/**/*"
- "sanitizers/**/*"
- "docs/**/*"
- "build/**/*"
- "build_*/**/*"
- "build-*/**/*"
- "schemas/**/*"
- "cmake/**/*"
- "scripts/**/*"
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: no