Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Documentation: https://docs.codecov.io/docs/codecov-yaml
codecov:
require_ci_to_pass: false
Comment thread
dirgim marked this conversation as resolved.

ignore:
- "api/v1alpha1/zz_generated.deepcopy.go" # generated file
- "api/v1beta1/zz_generated.deepcopy.go" # generated file
Expand All @@ -10,15 +13,20 @@ ignore:
- "vendor/**" # vendor files

coverage:
status:
# Allows coverage to drop by a 3% when compared against the base commit.
project:
default:
target: auto
# this allows a 3% drop from the previous base commit coverage
threshold: 3%
# Sets the expected status for `codecov/patch` check.
# We set this to be only informational hence it does not cause the check to fail.
patch:
default:
informational: true
status:
# Allows coverage to drop by a 3% when compared against the base commit.
project:
default:
target: auto
threshold: 1%
informational: true
# Sets the expected status for `codecov/patch` check.
# We set this to be only informational hence it does not cause the check to fail.
patch:
default:
target: 80%
informational: true

comment:
layout: "reach,diff,flags,files,footer"
require_changes: true
Loading