Skip to content

Commit f7d1985

Browse files
authored
Add Codecov configuration to set a coverage threshold to pass the check on a commit (opensearch-project#192)
1 parent 538278a commit f7d1985

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.codecov.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
4+
coverage:
5+
precision: 2
6+
round: down
7+
range: "70...100"
8+
status:
9+
project:
10+
default:
11+
target: 70% # the required coverage value
12+
threshold: 1% # the leniency in hitting the target

0 commit comments

Comments
 (0)