forked from NCAS-CMS/cfdm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
codecov.yml
35 lines (32 loc) · 886 Bytes
/
codecov.yml
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
# This config overrides the default Codecov config, as outlined at:
# https://docs.codecov.io/docs/codecov-yaml
coverage:
round: up
range: "70...100"
precision: 2
status:
project:
default:
target: auto
threshold: "0%"
base: auto
branches:
- main
if_no_uploads: success
if_not_found: success
if_ci_failed: error
only_pulls: true
patch:
default:
target: "90%"
threshold: "10%"
base: auto
branches:
- main
if_no_uploads: success
if_not_found: success
if_ci_failed: error
only_pulls: false
# Note: there is a Codecov 'ignore' key to ignore certain paths, but this is
# not needed (I think) since we ignore the test directory path etc. in
# generating our coverage XML, so it should already not be processed.