forked from ystia/yorc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codecov.yml
24 lines (21 loc) · 1.22 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
# see https://github.com/codecov/support/wiki/Codecov-Yaml
coverage:
precision: 2 # how many decimal places to display in the UI: 0 <= value <= 4
round: down # how coverage is rounded: down/up/nearest
range: 50...80 # custom range of coverage colors from red -> yellow -> green
status:
project:
default:
threshold: 2% # allowed to drop X% and still result in a "success" commit status
patch: # pull requests only: this commit status will measure the
# entire pull requests Coverage Diff. Checking if the lines
# adjusted are covered at least X%.
default:
enabled: yes # must be yes|true to enable this status
target: 50% # specify the target "X%" coverage to hit
branches: null # -> see "branch patterns" below
threshold: 2% # allowed to drop X% and still result in a "success" commit status
if_no_uploads: error # will post commit status of "error" if no coverage reports we uploaded
# options: success, error, failure
if_not_found: success
if_ci_failed: error