Skip to content

Commit 9ebac3d

Browse files
committed
ci(e2e): install Playwright browsers via Python CLI to match Python package; ensure repo-local TMPDIR/TMP/TEMP and PLAYWRIGHT_BROWSERS_PATH; fix chromium missing executable on Actions
1 parent ce845fe commit 9ebac3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
- name: Prepare repo-local temp directories
2525
run: |
2626
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}
27-
- name: Install Playwright browsers
27+
- name: Install Playwright browsers (python CLI, repo-local)
2828
if: matrix.tier == 'e2e'
2929
env:
3030
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers
3131
TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp
3232
TMP: ${{ github.workspace }}/dev/test-runs/tmp
3333
TEMP: ${{ github.workspace }}/dev/test-runs/tmp
3434
run: |
35-
npx playwright install chromium --with-deps
35+
python -m playwright install chromium
3636
- name: Run tests by tier
3737
env:
3838
SCIDK_E2E: ${{ matrix.tier == 'e2e' && '1' || '0' }}

0 commit comments

Comments
 (0)