-
Notifications
You must be signed in to change notification settings - Fork 170
/
codecov.yml
46 lines (43 loc) · 969 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
coverage:
precision: 2
round: down
range: 60...100
status:
# Learn more at https://docs.codecov.io/docs/commit-status
project:
default:
target: 65.5%
threshold: 2% # allow this much decrease on project
if_ci_failed: error
if_not_found: success # if tests are not run
modules:
target: 62%
paths:
- "x/"
- "!x/**/client/" # ignore client package
client:
target: 96%
paths:
- client
- "x/**/client/"
comment:
layout: "reach, diff, files"
behavior: default # update if exists else create new
require_changes: true
ignore:
# ignore all files of these types
- "**/*.proto"
- "**/*.yml"
- "**/*.json"
- "**/*.toml"
- "**/*.rst"
- "**/*.md"
# auto-generated files
- "**/*.pb.go"
- "**/*.pb.gw.go"
# ignore these folders and all their contents
- "docs"
- "tests"
- "scripts"
- "contrib"
- "swagger"