Skip to content

Commit

Permalink
- fail ci if codecov fail
Browse files Browse the repository at this point in the history
- drop coverage threshold from 5% - 1%
  • Loading branch information
ethanae committed Aug 6, 2024
1 parent 1f702ac commit 22d95fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 }}
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ coverage:
project:
default:
target: auto
# this allows a 5% drop from the previous base commit coverage
threshold: 5%
# this allows a 1% drop from the previous base commit coverage
threshold: 1%

0 comments on commit 22d95fd

Please sign in to comment.