Skip to content

Commit 9bfa3f2

Browse files
authored
Merge pull request #8 from patchmemory/chore/ci-playwright-local-install
ci(e2e): replace deprecated Playwright action with repo-local install…
2 parents 6ebb19d + 2623e52 commit 9bfa3f2

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
@@ -21,12 +21,16 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install -e .[dev]
24-
- name: Install Playwright browsers
25-
if: matrix.tier == 'e2e'
26-
uses: microsoft/playwright-github-action@v1
2724
- name: Prepare repo-local temp directories
2825
run: |
2926
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}
27+
- name: Install Playwright browsers (repo-local, no root)
28+
if: matrix.tier == 'e2e'
29+
env:
30+
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers
31+
TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp
32+
run: |
33+
python -m playwright install chromium
3034
- name: Run tests by tier
3135
env:
3236
SCIDK_E2E: ${{ matrix.tier == 'e2e' && '1' || '0' }}

0 commit comments

Comments
 (0)