Skip to content

Commit

Permalink
Lower the pass threshold to 40%
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor committed May 28, 2024
1 parent 8937953 commit ea1d283
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/.testcoverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ local-prefix: "github.com/nephio-project/porch"
threshold:
# (optional; default 0)
# The minimum coverage that each file should have
file: 70
file: 0

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

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

# Holds regexp rules which will override thresholds for matched files or packages
# using their paths.
Expand All @@ -54,10 +54,10 @@ override:
# Holds regexp rules which will exclude matched files or packages
# from coverage statistics
exclude:
# Exclude files or packages matching their paths
paths:
- \.pb\.go$ # excludes all protobuf generated files
- ^pkg/bar # exclude package `pkg/bar`
# # Exclude files or packages matching their paths
# paths:
# - \.pb\.go$ # excludes all protobuf generated files
# - ^pkg/bar # exclude package `pkg/bar`

# NOTES:
# - symbol `/` in all path regexps will be replaced by current OS file path separator
Expand Down

0 comments on commit ea1d283

Please sign in to comment.