Skip to content

Commit

Permalink
Add a threshold for codecov failure.
Browse files Browse the repository at this point in the history
Signed-off-by: James Blair <[email protected]>
  • Loading branch information
jmhbnz committed Nov 30, 2024
1 parent 4068189 commit 977cee3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ coverage:
range: 60..80
round: down
precision: 2
status:
project:
default:
target: auto
# allow some coverage reductions within a threshold
# this allows a 1% drop from the previous base commit coverage
threshold: 1%
comment:
layout: "header, files, diff, footer"
behavior: default # default: update, if exists. Otherwise post new; new: delete old and post new
Expand Down

0 comments on commit 977cee3

Please sign in to comment.