Skip to content

Commit

Permalink
Tune CodeCov to be more informational, less gate-keepy (dapr#2100)
Browse files Browse the repository at this point in the history
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
tcnghia authored Sep 24, 2020
1 parent 9a4788d commit 711b14d
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .codecov.yaml
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.

0 comments on commit 711b14d

Please sign in to comment.