From acb643a121dcdf53e5f1a779235f8671417cab2c Mon Sep 17 00:00:00 2001 From: David Collom Date: Wed, 3 Jul 2024 10:49:34 +0100 Subject: [PATCH] Ensure that we have some test-coverage enforcement --- .testcoverage.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.testcoverage.yml b/.testcoverage.yml index 3e4c51f8..536c5086 100644 --- a/.testcoverage.yml +++ b/.testcoverage.yml @@ -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: @@ -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)