Skip to content

Commit a9bbae6

Browse files
committed
Revised pytest commands to use python -m pytest.
1 parent 0245548 commit a9bbae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/pythonpackage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- name: Test with pytest and coverage
3636
if: ${{ matrix.python-version != 'pypy-3.7' }}
3737
run: |
38-
pytest -vv --cov=nbclassic --cov-report term-missing:skip-covered || pytest -vv --cov=nbclassic --cov-report term-missing:skip-covered
38+
python -m pytest -vv --cov=nbclassic --cov-report term-missing:skip-covered || python -m pytest -vv --cov=nbclassic --cov-report term-missing:skip-covered
3939
- name: Run the tests on pypy
4040
if: ${{ matrix.python-version == 'pypy-3.7' }}
4141
run: |
42-
pytest -vv || pytest -vv -lf
42+
python -m pytest -vv || python -m pytest -vv -lf
4343
- name: Test Running Server
4444
if: startsWith(runner.os, 'Linux')
4545
run: |

0 commit comments

Comments
 (0)