Skip to content

Commit

Permalink
massage coverage into codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ployt0 authored Aug 6, 2023
1 parent 3365d0b commit f5b661c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,12 @@ jobs:
- name: Test with pytest for coverage
run: |
cd tests
PYTHONPATH=../ss_img_shrinker coverage run --source="../ss_img_shrinker" -m pytest
PYTHONPATH=../ss_img_shrinker coverage xml --source="../ss_img_shrinker" -m pytest
- name: Test coverage
run: |
coverage report -m --fail-under=90
cd tests
PYTHONPATH=../ss_img_shrinker coverage report -m --fail-under=90
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit f5b661c

Please sign in to comment.