-
Notifications
You must be signed in to change notification settings - Fork 31
/
codecov.yml
70 lines (66 loc) · 1.21 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
66
67
68
69
70
#
# 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, files"
behavior: default # update if exists else create new
require_changes: false
coverage:
status:
project:
default:
target: 50
threshold: 1% # allow this much decrease on project
app:
target: 70%
flags:
- app
modules:
target: 70%
flags:
- modules
client:
flags:
- client
changes: false
precision: 2
range: 50...90
round: down
flags:
app:
paths:
- "app/"
- "baseapp/"
modules:
paths:
- "x/"
- "!x/**/client/" # ignore client package
client:
paths:
- "client/"
- "x/**/client/"
ignore:
- "docs"
- "*.md"
- "*.rst"
- "*.yml"
- "*.yaml"
- "*.sh"
- "*.png"
- "*_test.go"
- "**/*_easyjson.go"
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "scripts/"
- "x/**/test_common.go"
- "*_cmd.go"
- "contrib"
- "root.go"
- "x/**/module.go"
- "x/**/errors.go"
- "x/**/key.go"