Skip to content

Commit 367a0dd

Browse files
committed
ci(e2e): ensure TMPDIR exists before installing Playwright; install chromium with deps via npx; keep repo-local paths
1 parent d54a9de commit 367a0dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install -e .[dev]
24+
- name: Prepare repo-local temp directories
25+
run: |
26+
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}
2427
- name: Install Playwright browsers
2528
if: matrix.tier == 'e2e'
2629
env:
2730
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/dev/test-runs/pw-browsers
2831
TMPDIR: ${{ github.workspace }}/dev/test-runs/tmp
2932
run: |
3033
npx playwright install chromium --with-deps
31-
- name: Prepare repo-local temp directories
32-
run: |
33-
mkdir -p dev/test-runs/{tmp,pytest-tmp,artifacts,downloads,pw-browsers}
3434
- name: Run tests by tier
3535
env:
3636
SCIDK_E2E: ${{ matrix.tier == 'e2e' && '1' || '0' }}

0 commit comments

Comments
 (0)