Skip to content

Commit

Permalink
Fix codecov upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Apr 21, 2024
1 parent fe04acf commit ef5e600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ jobs:
run: |
pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4.2.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Check Coverage
run: |
coverage report --fail-under=100 || (echo 'Insufficient coverage' && $(exit 1))
Expand Down

0 comments on commit ef5e600

Please sign in to comment.