File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 29
29
PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
30
30
npx playwright@$PLAYWRIGHT_VERSION install --with-deps
31
31
- name : Test with pytest
32
- run : |
33
- source .venv/bin/activate
34
- xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }}
32
+ run : xvfb-run .venv/bin/python -m pytest -m devRun --base-url ${{ vars.BASE_URL }}
35
33
- name : Auto-assign reviewers
36
34
37
35
if : success()
Original file line number Diff line number Diff line change 54
54
npx playwright@$PLAYWRIGHT_VERSION install --with-deps
55
55
- name : Run Tests
56
56
run : |
57
- source .venv/bin/activate
58
- xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
57
+ xvfb-run .venv/bin/python -m pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
59
58
--base-url ${{ vars.BASE_URL }} \
60
59
--splits ${{ github.event.inputs.parallelism || 2 }} \
61
60
--group ${{ matrix.group }}
You can’t perform that action at this time.
0 commit comments