mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Install Playwright in CI
This commit is contained in:
parent
5e0cfa8b30
commit
472caf4edf
1 changed files with 8 additions and 0 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -27,6 +27,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -e '.[test]'
|
pip install -e '.[test]'
|
||||||
pip freeze
|
pip freeze
|
||||||
|
- name: Cache Playwright browsers
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache/ms-playwright/
|
||||||
|
key: ${{ runner.os }}-browsers
|
||||||
|
- name: Install Playwright dependencies
|
||||||
|
run: |
|
||||||
|
playwright install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest -n auto -m "not serial"
|
pytest -n auto -m "not serial"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue