Skip to content

Commit

Permalink
- add codecov.yml with 1% threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanae committed Aug 6, 2024
1 parent 0ceba6d commit 9a7a2be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ jobs:
name: coverage
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false # optional (default = false)
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 7 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
coverage:
status:
project:
default:
target: auto
# this allows a 1% drop from the previous base commit coverage
threshold: 1%

0 comments on commit 9a7a2be

Please sign in to comment.