-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
49 lines (43 loc) · 1.28 KB
/
Copy pathcodecov.yml
File metadata and controls
49 lines (43 loc) · 1.28 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
# SPDX-License-Identifier: AGPL-3.0-or-later
# Codecov configuration for rmorie.
# Docs: https://docs.codecov.com/docs/codecov-yaml
codecov:
require_ci_to_pass: true
notify:
after_n_builds: 1
wait_for_ci: true
coverage:
precision: 2
round: down
range: "60...95"
status:
project:
default:
target: auto
threshold: 2% # allow 2pp drop without failing the gate
informational: false
patch:
default:
target: auto
threshold: 5%
informational: true # patch coverage informational only
parsers:
cobertura:
handle_missing_conditions: true
comment:
layout: "header, diff, components, files"
behavior: default
require_changes: true # only comment when coverage changes
ignore:
- "src/RcppExports.cpp" # autogenerated
- "R/RcppExports.R" # autogenerated
# gcov reports every header the compiler pulled in, so a coverage run
# measured 1,246 files of which only 24 were rmorie's own: 557 system
# headers and 665 Rcpp/RcppArmadillo headers padded the denominator
# with code this package does not own and cannot test.
- "/usr/include/**"
- "**/_temp/Library/**"
- "tests/" # don't measure coverage of tests
- "vignettes/"
- "data-raw/"
- "inst/"