-
Notifications
You must be signed in to change notification settings - Fork 42
/
codecov.yml
22 lines (21 loc) · 906 Bytes
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Documentation: https://docs.codecov.io/docs/codecov-yaml
ignore:
- "api/v1alpha1/zz_generated.deepcopy.go" # generated file
- "api/v1beta1/zz_generated.deepcopy.go" # generated file
- "api/v1beta2/zz_generated.deepcopy.go" # generated file
- "gitops/integrationteststatus_enumer.go" # generated file
- "status/mock_reporter.go" # generated file
- "status/mock_status.go" # generated file
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