diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index ea1f1487512..f3b5ba23ae3 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -82,11 +82,11 @@ jobs: if: ${{ !matrix.min-version }} - name: Run parallel tests run: | - pytest -m "not serial" --cov=qcodes --cov-report xml --hypothesis-profile ci --durations=20 src + pytest -m "not serial" --cov=qcodes --cov-report xml --hypothesis-profile ci --durations=20 src/qcodes # a subset of the tests fails when run in parallel on Windows so run those in serial here - name: Run serial tests run: | - pytest -m "serial" -n 0 --dist no --cov=qcodes --cov-report xml --cov-append --hypothesis-profile ci src + pytest -m "serial" -n 0 --dist no --cov=qcodes --cov-report xml --cov-append --hypothesis-profile ci src/qcodes - name: Upload coverage to Codecov uses: codecov/codecov-action@v3.1.4 with: