| 1 | coverage: |
| 2 | # Commit status https://docs.codecov.io/docs/commit-status are used |
| 3 | # to block PR based on coverage threshold. |
| 4 | status: |
| 5 | project: |
| 6 | default: |
| 7 | # https://github.com/knative/pkg/issues/1785 |
| 8 | # Real goal is 80, but prow sees this as a blocker if not met for merging. |
| 9 | target: 68 |
| 10 | threshold: 1% |
| 11 | patch: |
| 12 | # Disable the coverage threshold of the patch, so that PRs are |
| 13 | # only failing because of overall project coverage threshold. |
| 14 | # See https://docs.codecov.io/docs/commit-status#disabling-a-status. |
| 15 | default: false |
| 16 | comment: |
| 17 | # Just one comment, updated as necessary. Will be recreated if deleted. |
| 18 | behavior: default |
| 19 | ignore: |
| 20 | - "**/zz_generated*.go" # Ignore generated files. |
| 21 | - "codegen/**/*" #TODO: fix coverage |
| 22 | - "injection/**/*" #TODO: fix coverage |
| 23 | - "test/**/*" |
| 24 | - "tracing/**/*" #TODO: fix coverage |
| 25 | - "client" |
| 26 | - "hack" |
| 27 | - "reconciler/testing" |
| 28 | - "testing" |
| 29 | - "third_party" |
| 30 | - "vendor" |