-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.codecov.yml
51 lines (43 loc) · 1009 Bytes
/
.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
################################################################################################################
#
# ref:
# - https://codecov.io/
# - https://github.com/codecov
# - https://docs.coveralls.io/go
# - https://github.com/pingcap/tidb/blob/master/.codecov.yml
#
################################################################################################################
codecov:
notify:
require_ci_to_pass: yes
coverage:
precision: 4
round: down
range: "65...90"
status:
project:
default:
threshold: 0.2 #Allow the coverage to drop by threshold%, and posting a success status.
patch:
default:
target: 0% # trial operation
changes: no
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "header, diff"
behavior: default
require_changes: no
ignore:
- "LICENSES"
- "*_test.go"
- ".git"
- "*.yml"
- "*.md"
- "doc/.*"
- "vendor/.*"