Skip to content

Commit

Permalink
enable codecoverage reports (#4237)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaikas committed Oct 7, 2020
1 parent deae30c commit 0aa53c1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .codecov.yaml
@@ -0,0 +1,24 @@
coverage:
# Commit status https://docs.codecov.io/docs/commit-status are used
# to block PR based on coverage threshold.
status:
project:
default:
target: 80
threshold: 1%
patch:
# Disable the coverage threshold of the patch, so that PRs are
# only failing because of overall project coverage threshold.
# See https://docs.codecov.io/docs/commit-status#disabling-a-status.
default: false
comment:
# Update existing comment or create new if deleted.
behavior: default
ignore:
- "**/zz_generated*.go" # Ignore generated files.
- "**/*.pb.go" # Ignore proto-generated files.
- "hack"
- "pkg/client"
- "test"
- "third_party"
- "vendor"

0 comments on commit 0aa53c1

Please sign in to comment.