-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.testcoverage.yml
More file actions
22 lines (19 loc) · 792 Bytes
/
.testcoverage.yml
File metadata and controls
22 lines (19 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# (mandatory)
# Path to coverage profile file (output of `go test -coverprofile` command).
#
# For cases where there are many coverage profiles, such as when running
# unit tests and integration tests separately, you can combine all those
# profiles into one. In this case, the profile should have a comma-separated list
# of profile files, e.g., 'cover_unit.out,cover_integration.out'.
profile: coverage.out
# Holds coverage thresholds percentages, values should be in range [0-100].
threshold:
# (optional; default 0)
# Minimum coverage percentage required for individual files.
file: 0
# (optional; default 0)
# Minimum coverage percentage required for each package.
package: 0
# (optional; default 0)
# Minimum overall project coverage percentage required.
total: 75