Skip to content

Commit 294a605

Browse files
committed
ci(e2e): remove deprecated Playwright action use and install Chromium browsers repo-locally; pin Ubuntu runner to 22.04; keep TMPDIR and --basetemp repo-local across tiers
1 parent 1d34d46 commit 294a605

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
tests:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
1313
python-version: ["3.12"]
@@ -21,9 +21,13 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install -e .[dev]
24-
- name: Install Playwright browsers
24+
- name: Install Playwright browsers (repo-local, no root)
2525
if: matrix.tier == 'e2e'
26-
uses: microsoft/playwright-github-action@v1
26+
env:
27+
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers
28+
TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp
29+
run: |
30+
python -m playwright install chromium
2731
- name: Prepare repo-local temp directories
2832
run: |
2933
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}

0 commit comments

Comments
 (0)