-
Notifications
You must be signed in to change notification settings - Fork 28
/
codecov.yml
57 lines (47 loc) · 1.39 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# The is the default codecov.io yaml configuration all projects use
# that do not have their own codecov.yml already in the project.
#
# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml
# This section provides the generic configuration for codecov.
#
# https://docs.codecov.io/docs/codecovyml-reference#section-codecov
codecov:
require_ci_to_pass: yes
# This section provides the configuration for the
# coverage report codecov analyzes for results.
#
# https://docs.codecov.io/docs/codecovyml-reference#section-coverage
coverage:
precision: 2
round: down
range: "70...100"
# https://docs.codecov.io/docs/commit-status
status:
# set rules for the project status report
project:
default:
target: 90%
threshold: 0%
# disable the patch status report
patch: off
# disable the changes status report
changes: off
# This section provides the configuration for the
# parsers codecov uses for the coverage report.
#
# https://docs.codecov.io/docs/codecovyml-reference#section-parsers
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
# This section provides the configuration for the
# comments codecov makes to open pull requests.
#
# https://docs.codecov.io/docs/codecovyml-reference#section-comment
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: no