From 2623e520e14431bb4864376787f14e6485f148b5 Mon Sep 17 00:00:00 2001 From: Adam Patch Date: Thu, 18 Dec 2025 17:46:31 -0500 Subject: [PATCH] ci(e2e): replace deprecated Playwright action with repo-local install; pin TMPDIR/--basetemp across tiers --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 130b06d5..f228695d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,12 +21,16 @@ jobs: run: | python -m pip install --upgrade pip pip install -e .[dev] - - name: Install Playwright browsers - if: matrix.tier == 'e2e' - uses: microsoft/playwright-github-action@v1 - name: Prepare repo-local temp directories run: | mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers} + - name: Install Playwright browsers (repo-local, no root) + if: matrix.tier == 'e2e' + env: + PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers + TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp + run: | + python -m playwright install chromium - name: Run tests by tier env: SCIDK_E2E: ${{ matrix.tier == 'e2e' && '1' || '0' }}