Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
ignore:
- "**/*.pb.go" # ignore generated protos
- "**/*.pb.gw.go" # ignore generated protos
coverage:
range: 60..80

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why an upper bound of 80? or am I misreading this config line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An upper bound of 80 means that code coverage above 80% will be marked as green.
This can be adjusted as the code coverage for the project grows over time.

status:
project:
default:
threshold: 1 # Allow coverage to drop by 1%
patch:
default:
threshold: 1 # Allow coverage to drop by 1%