mirror of
https://github.com/ko-build/ko.git
synced 2025-02-07 19:30:23 +02:00
`.codecov.yaml` - Enable codecov.io coverage reports `.golangci.yaml` - Enable the enumerated checks in golangci-lint `boilerplate.*.txt` - Enable file header boilerplate checks for these extensions
22 lines
627 B
YAML
22 lines
627 B
YAML
coverage:
|
|
# Commit status https://docs.codecov.io/docs/commit-status are used
|
|
# to block PR based on coverage threshold.
|
|
status:
|
|
project:
|
|
default:
|
|
target: 80
|
|
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
|
|
ignore:
|
|
- "**/zz_generated*.go" # Ignore generated files.
|
|
- "**/*.pb.go" # Ignore proto-generated files.
|
|
- "hack"
|
|
- "pkg/client"
|
|
- "test"
|
|
- "third_party"
|
|
- "vendor"
|