-
Notifications
You must be signed in to change notification settings - Fork 9
/
codecov.yml
65 lines (54 loc) · 1.67 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
58
59
60
61
62
63
64
65
# 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 that tells
# codecov to ignore files matching these files or patterns.
#
# https://docs.codecov.io/docs/codecovyml-reference#section-ignore
ignore:
# this is only for tests, so reporting coverage is misleading.
- runtime/kubernetes/mock.go
# 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