Skip to content

Commit 3a9ba64

Browse files
committed
Install and cache Playwright browsers in CI
1 parent 8d09b7a commit 3a9ba64

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
pip install -e . --group dev
26+
- name: Cache Playwright browsers
27+
uses: actions/cache@v5
28+
with:
29+
path: |
30+
~/.cache/ms-playwright/
31+
~/Library/Caches/ms-playwright/
32+
~\AppData\Local\ms-playwright\
33+
key: ${{ runner.os }}-playwright
34+
- name: Install Playwright browsers
35+
run: |
36+
python -m playwright install chromium
2637
- name: Run tests
2738
env:
2839
PYTHONUTF8: "1"

0 commit comments

Comments
 (0)