-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
37 lines (33 loc) · 1 KB
/
codecov.yml
File metadata and controls
37 lines (33 loc) · 1 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
# Codecov Configuration
# https://docs.codecov.com/docs/codecov-yaml
coverage:
# Coverage status checks
status:
# Project-level coverage (overall)
project:
default:
# Don't fail PR if coverage drops by less than 2%
threshold: 2%
# Only check files that were changed
only_changed_files: false
# Patch-level coverage (new code in PR)
patch:
default:
# Require 50% coverage on new code
target: 50%
# Don't fail if slightly under
threshold: 5%
# Ignore these paths in coverage reports
ignore:
- "src/main.rs" # Entry point, minimal logic
- "experiments/**" # Experimental code
- "tests/**" # Test code itself
- "benches/**" # Benchmarks
# Comment settings for PRs
comment:
# Post coverage report as PR comment
layout: "header, diff, flags, files"
# Only comment if coverage changes
behavior: default
# Don't require CI to pass before commenting
require_changes: false