Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that we have some test-coverage enforcement #213

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .testcoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ profile: coverage.out

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

# Holds coverage thresholds percentages, values should be in range [0-100]
threshold:
Expand All @@ -14,12 +14,11 @@ threshold:

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

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

total: 40
# Holds regexp rules which will override thresholds for matched files or packages
# override:
# # Increase coverage threshold to 100% for `foo` package (default is 80, as configured above)
Expand Down