Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik-code committed Nov 14, 2024
1 parent f457f54 commit 175f2fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
- name: Test with pytest and create coverage report
run: |
pytest
- name: Test with pytest and create coverage report
run: |
python -m poetry run coverage run --source=SPINEPS -m pytest
python -m poetry run coverage xml
python -m poetry run coverage run --source=SPINEPS -m pytest
python -m poetry run coverage xml
- name: Upload coverage results to Codecov (Only on merge to main)
# Only upload to Codecov after a merge to the main branch
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
Expand Down

0 comments on commit 175f2fb

Please sign in to comment.