diff --git a/.github/workflows/devRun.yml b/.github/workflows/devRun.yml index 923e564c7..868ae92f6 100644 --- a/.github/workflows/devRun.yml +++ b/.github/workflows/devRun.yml @@ -29,9 +29,7 @@ jobs: PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/') npx playwright@$PLAYWRIGHT_VERSION install --with-deps - name: Test with pytest - run: | - source .venv/bin/activate - xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }} + run: xvfb-run .venv/bin/python -m pytest -m devRun --base-url ${{ vars.BASE_URL }} - name: Auto-assign reviewers uses: kentaro-m/auto-assign-action@v2.0.0 if: success() diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 12025805b..412cbdfcf 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -54,8 +54,7 @@ jobs: npx playwright@$PLAYWRIGHT_VERSION install --with-deps - name: Run Tests run: | - source .venv/bin/activate - xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \ + xvfb-run .venv/bin/python -m pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \ --base-url ${{ vars.BASE_URL }} \ --splits ${{ github.event.inputs.parallelism || 2 }} \ --group ${{ matrix.group }}