-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codecov.yml
28 lines (25 loc) · 1.28 KB
/
.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
codecov:
branch: master # Default branch to show in GUI
coverage:
precision: 2 # How many decimal places to display in the GUI
round: down # How decimal points are rounded
range: 50...90 # Below 50% is 'Red', 50% to 90% is 'Yellow', 90%+ is 'Green'
status:
project:
default:
enabled: true
target: 80% # 80% coverage expected for a 'success' in coverage
threshold: 3% # Any given commit can drop 3% in total coverage
if_no_uploads: error # If we didn't get a cover report, it's an error
if_not_found: success # If there is no parent commit, that's OK.
if_ci_failed: error # If our CI failed along the way, assume the
# code coverage is in an erroneous state
patch:
default:
enabled: true
target: 80% # 80% coverage expected for a 'success' in coverage
threshold: 3% # Any given commit can drop 3% in total coverage
if_no_uploads: error # If we didn't get a cover report, it's an error
if_not_found: success # If there is no parent commit, that's OK.
if_ci_failed: error # If our CI failed along the way, assume the
# code coverage is in an erroneous state