Skip to content

Commit d883070

Browse files
authored
update pytest call
following https://stackoverflow.com/a/75768202
1 parent 7ab846e commit d883070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python_package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4444
flake8 src tests setup.py --exclude=__init__.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4545
- name: Test with pytest
46-
run: pytest --cov=src tests/
46+
run: python -m pytest --cov=src tests/
4747

4848
- name: Coveralls
4949
env:

0 commit comments

Comments
 (0)