Skip to content

Commit

Permalink
Update CI (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekfal committed Jan 31, 2024
1 parent 4242f1a commit b8ded77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
working-directory: tests/
run: |
if [ ${{ github.event_name }} == 'push' ]; then
pytest --cov --cov-report=term --cov-report=xml
# Run with sudo to delete create files
sudo pytest --cov --cov-report=term --cov-report=xml
else
pytest
sudo pytest
fi
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit b8ded77

Please sign in to comment.