Skip to content

Commit

Permalink
Codecov config. Enfore <10% coverage decrease on each PR, and at leas…
Browse files Browse the repository at this point in the history
…t 50% of the new code needs to have unit tests
  • Loading branch information
israelmcmc committed May 9, 2024
1 parent aa4957b commit 6e6a441
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# When modifying the this file, please validate the new YAML using
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate
# See https://docs.codecov.com/docs/commit-status

coverage:
status:
project: # How much the overall coverage can decrease
default:
threshold: 10% # Will be 0% in the long term
patch: # What percentage of the new lines need to be covered
default:
threshold: 50% # Will be 0% in the long term


comment:
hide_project_coverage: false # Show both overall and delta coverage

0 comments on commit 6e6a441

Please sign in to comment.