File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2929 PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
3030 npx playwright@$PLAYWRIGHT_VERSION install --with-deps
3131 - name : Test with pytest
32- run : |
33- source .venv/bin/activate
34- xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }}
32+ run : uv venv exec bash -c "xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }}"
3533 - name : Auto-assign reviewers
3634 uses : kentaro-m/auto-assign-action@v2.0.0
3735 if : success()
Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ jobs:
5454 npx playwright@$PLAYWRIGHT_VERSION install --with-deps
5555 - name : Run Tests
5656 run : |
57- source . venv/bin/activate
58- xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
59- --base-url ${{ vars.BASE_URL }} \
60- --splits ${{ github.event.inputs.parallelism || 2 }} \
61- --group ${{ matrix.group }}
57+ uv venv exec bash -c "
58+ xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m \ "not devRun\ "' }} \
59+ --base-url ${{ vars.BASE_URL }} \
60+ --splits ${{ github.event.inputs.parallelism || 2 }} \
61+ --group ${{ matrix.group }}"
6262 - name : Upload test results and artifacts
6363 if : always()
6464 uses : actions/upload-artifact@v4.6.2
You can’t perform that action at this time.
0 commit comments