Skip to content

Commit b2a28b3

Browse files
committed
Move playwright install to commands_pre
1 parent ea8e028 commit b2a28b3

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,5 @@ jobs:
8787
- name: Install uv
8888
uses: astral-sh/setup-uv@v7
8989

90-
- name: Install Playwright browsers
91-
run: uv run --extra=dev playwright install --with-deps chromium firefox
92-
9390
- name: Run e2e tests
9491
run: uv run --extra=dev tox -e e2e

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ commands = [["pytest", "-v", "-m", "not ui", "{posargs}"]]
181181

182182
[tool.tox.env.e2e]
183183
extras = ["dev", "server"]
184+
commands_pre = [["playwright", "install", "--with-deps", "chromium", "firefox"]]
184185
commands = [["pytest", "-m", "ui", "--browser", "firefox", "--browser", "chromium", "--no-cov", "{posargs}"]]
185186

186187
[tool.tox.env.mypy]

0 commit comments

Comments
 (0)