-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathcodecov.yml
More file actions
51 lines (46 loc) · 1.19 KB
/
codecov.yml
File metadata and controls
51 lines (46 loc) · 1.19 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
# Codecov configuration for Beancount Language Server
# Coverage settings
coverage:
# Precision for coverage percentages (2 decimal places)
precision: 2
# Round coverage values
round: down
# Coverage range (red to green)
range: "50..90"
# Status checks
status:
# Overall project coverage
project:
default:
# Require project coverage to stay within threshold
target: auto
# Allow coverage to drop by up to 1%
threshold: 1%
# Only post status if coverage changes
if_ci_failed: error
# Coverage of changed code (patch)
patch:
default:
# Require at least 50% coverage on new code
target: 50%
# Allow some flexibility for small changes
threshold: 10%
# Only post status if coverage changes
if_ci_failed: error
# Comment settings for PRs
comment:
# Post coverage comment on PRs
require_changes: true
# Comment layout
layout: "diff, flags, files"
# Behavior when coverage changes
behavior: default
# Ignore certain paths from coverage
ignore:
- "tests/**/*"
- "**/*test*.rs"
- "examples/**/*"
- "benches/**/*"
- "target/**/*"
- "vscode/**/*"
- "python/**/*"