Skip to content

Commit d54a9de

Browse files
committed
ci(e2e): install Playwright browsers via npx on CI; remove invalid pytest flag; keep repo-local TMPDIR/basetemp
1 parent 7558255 commit d54a9de

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install -e .[dev]
24-
- name: Install Playwright system dependencies
25-
if: matrix.tier == 'e2e'
26-
run: |
27-
npx playwright install-deps
2824
- name: Install Playwright browsers
2925
if: matrix.tier == 'e2e'
26+
env:
27+
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers
28+
TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp
3029
run: |
31-
npx playwright install
30+
npx playwright install chromium --with-deps
3231
- name: Prepare repo-local temp directories
3332
run: |
3433
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}

0 commit comments

Comments
 (0)