-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.codecov.yml
34 lines (30 loc) · 1.08 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
29
30
31
32
33
34
# NOTE: codecov needs to be installed
# see https://github.com/apps/codecov
# You also need to grant access through
# https://github.com/settings/applications
codecov:
notify:
require_ci_to_pass: yes # require the build to pass before submitting notifications
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: "0...100" # custom range of coverage colors from red -> yellow -> green
status:
project: # measuring overall project coverage
default: # context
enabled: yes # must be yes|true to enable this status
target:
auto # specify the target coverage for each commit status
# option: "auto" (must increase from parent commit or pull request base)
threshold: 2% # allowed to drop X% and still result in a "success" commit status
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "header, diff"
behavior: default
require_changes: false