From f8c94781f69a82be1d17488f2418af2f16fd53cb Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 5 Aug 2023 08:24:44 -0400 Subject: [PATCH] Standardize pytest invocations Follow-up to 2821efbd0a119a53c5ebd88ed9e1fab661208a65. --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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