-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcodecov.yml
More file actions
28 lines (26 loc) · 992 Bytes
/
Copy pathcodecov.yml
File metadata and controls
28 lines (26 loc) · 992 Bytes
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
# Codecov configuration for SPECFEM++.
# Coverage reflects the C++ library under core/specfem/; everything else is ignored.
coverage:
status:
project:
default:
# Report only; do not block merges until a baseline is established.
informational: true
patch:
# Gate PRs on the coverage of the lines they add/change. Only lines under
# core/ count (see paths + the ignore list below); everything else is
# irrelevant to pass/fail.
default:
target: 80% # fail if <80% of changed lines are covered
threshold: 5% # some slack below target
informational: false # block the PR (was: informational: true)
paths:
- "core/" # only changed lines under core/ drive the status
if_not_found: success # PRs touching no measurable core lines pass
if_ci_failed: error
ignore:
- "_deps/**/*"
- "tests/**/*"
- "src/**/*"
- "fortran/**/*"
- "benchmarks/**/*"