forked from knative/pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codecov.yaml
30 lines (30 loc) · 976 Bytes
/
.codecov.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
coverage:
# Commit status https://docs.codecov.io/docs/commit-status are used
# to block PR based on coverage threshold.
status:
project:
default:
# https://github.com/knative/pkg/issues/1785
# Real goal is 80, but prow sees this as a blocker if not met for merging.
target: 68
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:
# Just one comment, updated as necessary. Will be recreated if deleted.
behavior: default
ignore:
- "**/zz_generated*.go" # Ignore generated files.
- "codegen/**/*" #TODO: fix coverage
- "injection/**/*" #TODO: fix coverage
- "test/**/*"
- "tracing/**/*" #TODO: fix coverage
- "client"
- "hack"
- "reconciler/testing"
- "testing"
- "third_party"
- "vendor"