-
Notifications
You must be signed in to change notification settings - Fork 14
/
codecov.yml
64 lines (60 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
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
#
# This codecov.yml is the default configuration for
# all repositories on Codecov. You may adjust the settings
# below in your own codecov.yml in your repository.
#
codecov:
require_ci_to_pass: yes
bot: Codecov bot for LINK
comment:
layout: "reach,diff,flags,tree"
behavior: default # update if exists else create new
require_changes: no
coverage:
status:
project:
default:
# basic
target: 0
threshold: 1% # allow this much decrease on project
base: auto
# advanced
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
changes: false
patch: off
precision: 2
range: 50...90
round: down
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
ignore:
- "docs"
- "*.md"
- "*.rst"
- "*.yml"
- "*.yaml"
- "*.sh"
- "*.png"
- "*_test.go"
- "x/**/test_common.go"
- "*_cmd.go"
- "contrib/**/*"
- "client/rpc/**/*_wrapper.go"
- "client/rpc/**/*_alias.go"
- "client/rpc/mock/*.go"
- "statik.go"
- "root.go"
- "x/**/module.go"
- "x/**/errors.go"
- "x/**/key.go"