Skip to content

Commit b2cfcda

Browse files
authored
Add some YAML to reduce Codecov spam (#625)
1 parent ad966b7 commit b2cfcda

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/codecov.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
codecov:
2+
strict_yaml_branch: default
3+
require_ci_to_pass: false
4+
notify:
5+
wait_for_ci: false
6+
notify_error: true
7+
8+
coverage:
9+
range: 65..80
10+
round: nearest
11+
precision: 2
12+
13+
status:
14+
project: false
15+
16+
patch:
17+
default:
18+
target: auto
19+
threshold: 0%
20+
21+
github_checks:
22+
annotations: false
23+
24+
comment:
25+
layout: "condensed_header, condensed_files, condensed_footer"
26+
hide_project_coverage: true
27+
require_head: true
28+
require_base: true
29+
require_changes: "coverage_drop OR uncovered_patch"
30+
31+
component_management:
32+
individual_components:
33+
- component_id: library
34+
name: "Core library"
35+
paths:
36+
- '!src/(pcre2test|pcre2grep)\.c'
37+
statuses:
38+
- type: project
39+
target: auto
40+
threshold: 0.5%
41+
42+
- component_id: test_binaries
43+
name: "Test binaries"
44+
paths:
45+
- 'src/(pcre2test|pcre2grep)\.c'

0 commit comments

Comments
 (0)