-
Notifications
You must be signed in to change notification settings - Fork 373
Expand file tree
/
Copy pathcodecov.yaml
More file actions
35 lines (35 loc) · 1009 Bytes
/
codecov.yaml
File metadata and controls
35 lines (35 loc) · 1009 Bytes
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
---
ignore:
- "**/zz_*.go"
- "**/*.pb.go"
- "**/*.pb.validate.go"
- "**/*fortesting.go"
- "**/testutil.go"
- "**/testutil/*.go"
- "**/mocks/mock_*.go"
# tests that need to be exported so that consumer modules can run them with their own datastore implementation
- "pkg/datastore/test"
coverage:
# UI Colors. The first number represents the cutover from red to yellow,
# and the second represents the cutover from yellow to green.
range: "70..85"
round: "up"
precision: 2
status:
project:
default:
target: "75%"
patch:
default:
# use the coverage from the pull request base to compare against.
target: "auto"
# allow the coverage to drop
threshold: "0.5%"
# the status will pass if there is no report for the head.
# used on PRs there won't be code coverage, but we still want codecov to pass.
if_not_found: "success"
github_checks:
annotations: true
parsers:
go:
partials_as_hits: false