chore: adjust codecov configuration (#1177)

* chore: adjust codecov configuration

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup

Signed-off-by: Lance Ball <lball@redhat.com>

Signed-off-by: Lance Ball <lball@redhat.com>
This commit is contained in:
Lance Ball 2022-08-19 22:29:52 -04:00 committed by GitHub
parent 3ac5d468bf
commit a52b7d5ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -1,7 +1,23 @@
coverage:
# Commit status https://docs.codecov.io/docs/commit-status are used
# to block PR based on coverage threshold.
status:
project:
default:
target: auto
threshold: 4%
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:
- third_party
- vendor
- testdata
- docker/zz_close_guarding_client_generated.go
- "**/zz_*generated*.go"
- templates