diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7ec0ecf5ba..971a2c8e2b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -74,7 +74,7 @@ jobs: run: | . venv/bin/activate pip list | grep 'astroid\|pylint' - pytest -vv --minimal-messages-config tests/test_functional.py + python -m pytest -vv --minimal-messages-config tests/test_functional.py - name: Upload coverage artifact uses: actions/upload-artifact@v3.1.2 with: @@ -214,7 +214,7 @@ jobs: run: | . venv\\Scripts\\activate pip list | grep 'astroid\|pylint' - pytest --durations=10 --benchmark-disable tests/ + python -m pytest --durations=10 --benchmark-disable tests/ tests-macos: name: run / ${{ matrix.python-version }} / macOS