generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.testcoverage.yml
31 lines (26 loc) · 1.15 KB
/
.testcoverage.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
# (mandatory)
# Path to coverprofile file (output of `go test -coverprofile` command)
profile: all-coverage.txt
# (optional)
# When specified reported file paths will not contain local prefix in the output
local-prefix: "github.com/kyma-project/opentelemetry-collector-components"
# Holds coverage thresholds percentages, values should be in range [0-100]
threshold:
# (optional; default 0)
# The minimum coverage that each package should have
package: 90
# Holds regexp rules which will override thresholds for matched files or packages using their paths.
#
# First rule from this list that matches file or package is going to apply new threshold to it.
# If project has multiple rules that match same path, override rules should be listed in order from
# specific to more general rules.
override:
- ^receiver/singletonreceivercreator: 79
- ^receiver/dummyreceiver: 89
# Holds regexp rules which will exclude matched files or packages from coverage statistics
exclude:
# Exclude files or packages matching their paths
paths: []
# NOTES:
# - symbol `/` in all path regexps will be replaced by
# current OS file path separator to properly work on Windows