Skip to content

Commit ee2fe2c

Browse files
twieckibrandonwillard
authored andcommitted
Reconfigure codecov to reduce false alarm rate.
1 parent 64bad71 commit ee2fe2c

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

codecov.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
codecov:
2-
require_ci_to_pass: true
3-
4-
comment:
5-
behavior: default
6-
branches:
7-
- "master"
2+
require_ci_to_pass: yes
83

94
coverage:
5+
precision: 2
6+
round: down
7+
range: "70...100"
108
status:
119
project:
1210
default:
11+
# basic
1312
target: auto
14-
threshold: 0%
15-
13+
threshold: 1%
14+
base: auto
1615
patch:
1716
default:
17+
# basic
1818
target: 100%
19+
threshold: 1%
20+
base: auto
21+
22+
comment:
23+
layout: "reach, diff, flags, files"
24+
behavior: default
25+
require_changes: false # if true: only post the comment if coverage changes
26+
require_base: no # [yes :: must have a base report to post]
27+
require_head: yes # [yes :: must have a head report to post]
28+
branches: null # branch names that can post comment

0 commit comments

Comments
 (0)