From 0993e23fed51297c79eab41823b355c8f4798556 Mon Sep 17 00:00:00 2001 From: David Simansky Date: Tue, 12 Apr 2022 12:55:08 +0200 Subject: [PATCH] Align codecov config with rest of the org (#1649) --- .codecov.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.codecov.yaml b/.codecov.yaml index 6dbe6da23..c922a17ba 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -1,5 +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"