forked from dapr/dapr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tune CodeCov to be more informational, less gate-keepy (dapr#2100)
Currently CodeCov actions may fail a PR. This change reduce the strictness so that CodeCov only provides information, but not fail a PR.
- Loading branch information
Showing
1 changed file
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
coverage: | ||
# Commit status https://docs.codecov.io/docs/commit-status are used | ||
# to block PR based on coverage threshold. | ||
status: | ||
project: | ||
default: | ||
informational: true | ||
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: | ||
# Delete old comment and post new one for new coverage information. | ||
# This is so that the code coverage info is closer to the newly push | ||
# commits on GitHub PR UI. | ||
behavior: new | ||
ignore: | ||
- "**/zz_generated*.go" # Ignore generated files. | ||
- "**/pkg/apis/**" # CRD related files including generated ones. | ||
- "**/pkg/proto/**" # GRPC Protobuf client for dapr. | ||
- "**/pkg/testing/**" # testing mock. | ||
- "**/testdata/**" # Ignore test resources folder. | ||
# Configure what to ignore. | ||
- "**/zz_generated*.go" # - Generated files. | ||
- "pkg/apis" # - CRD related files including generated ones. | ||
- "pkg/proto" # - GRPC Protobuf client for dapr. | ||
- "pkg/testing" # - Testing mock. |