-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
38 lines (34 loc) · 1.03 KB
/
codecov.yml
File metadata and controls
38 lines (34 loc) · 1.03 KB
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
# Codecov configuration.
# Docs: https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
project:
default:
target: auto # compare against the base branch
threshold: 1% # tolerate a 1 % drop without failing the check
informational: false
patch:
default:
target: 80% # new / changed code must hit 80 %
# Round to one decimal when rendering the badge.
precision: 1
round: nearest
range: "70...90"
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
# Files and directories below are excluded from the coverage denominator.
# They are either executed end-to-end via integration tests (cmd/, examples/),
# are pure interface / doc declarations (metrics/, **/doc.go), or are test
# support code that covers itself (internal/testutil/, test/).
ignore:
- "cmd/**"
- "examples/**"
- "internal/testutil/**"
- "metrics/**"
- "test/**"
- "**/doc.go"
- "**/*_example_test.go"
- "**/example_test.go"
- "**/bench_test.go"