Skip to content
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
6 changes: 2 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@

coverage:
status:
# non-voting, new code must be fully tested
# Patch coverage is mandatory and must be >= 80%
patch:
default:
target: 100%
# non-voting
informational: true
target: 80%
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Setting the target to 80% and removing informational: true makes the patch coverage check mandatory, which is a great improvement for ensuring code quality. However, this change makes the comment on line 20 (# non-voting, new code must be fully tested) inaccurate. To avoid confusion for future contributors, please consider updating it. For example, you could change it to # Patch coverage is mandatory and must be >= 80% or simply remove the 'non-voting' part.

# non-voting
project:
default:
Expand Down
Loading