Skip to content

Commit

Permalink
run pytest as a command, not a module, in GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
widdowquinn committed Feb 21, 2024
1 parent 6300339 commit 712c476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-on-push-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: pip install -e .

- name: Run Tests with pytest
run: python -m pytest -v -m "not slow" --cov=pyani --cov-report=xml:.coverage_fast.xml
run: pytest -v -m "not slow" --cov=pyani --cov-report=xml:.coverage_fast.xml

- name: Upload coverage Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 712c476

Please sign in to comment.