Skip to content

Commit

Permalink
ci: Add codecov.yaml to silence red-herring errors (#5482)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec authored Mar 22, 2021
1 parent ea26a96 commit 9390190
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ignore:
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "**/*generated.go"
- "**/*generated.deepcopy.go"
- "**/*_test.go"
- "pkg/apis/client/.*"
- "pkg/client/.*"
- "vendor/.*"
coverage:
status:
# we've found this not to be useful
patch: off
project:
default:
# allow test coverage to drop by 2%, assume that it's typically due to CI problems
threshold: 2

0 comments on commit 9390190

Please sign in to comment.