Skip to content

Commit

Permalink
add tetcovarage config
Browse files Browse the repository at this point in the history
  • Loading branch information
glebnaz committed Mar 15, 2024
1 parent 7199682 commit 5650b87
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .testcoverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# (mandatory)
# Path to coverprofile file (output of `go test -coverprofile` command)
profile: cover.out

# (optional)
# When specified reported file paths will not contain local prefix in the output
local-prefix: "github.com/org/project"

# Holds coverage thresholds percentages, values should be in range [0-100]
threshold:
# (optional; default 0)
# The minimum coverage that each file should have
file: 10

# (optional; default 0)
# The minimum coverage that each package should have
package: 10

# (optional; default 0)
# The minimum total coverage project should have
total: 10


0 comments on commit 5650b87

Please sign in to comment.