Skip to content

Commit aa650e9

Browse files
committed
ci: run the browser tests on two workers
1 parent 888ac5b commit aa650e9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ jobs:
271271
# `engine` fixture, and the axe checks' views), a third of the collected tests. The browsers are
272272
# cached by the version of Playwright that decides their revision, and the pnpm store by the
273273
# lock files of the packages the workspace and the language servers install; the system
274-
# libraries the browsers link are installed every run.
274+
# libraries the browsers link are installed every run. Two workers, one test file each, as in the
275+
# local gate's browser lane.
275276
browser:
276277
name: Browser tests (Chromium, Linux)
277278
needs: changes
@@ -335,7 +336,7 @@ jobs:
335336
run: uv run --group browser playwright install --with-deps chromium
336337

337338
- name: Browser tests
338-
run: uv run --group browser pytest -q -rs -k chromium tests/entrypoints/web/test_browser_*.py
339+
run: uv run --group browser pytest -q -rs -n 2 --dist loadfile -k chromium tests/entrypoints/web/test_browser_*.py
339340

340341
# A real engine, for what no fake can show: compose's behavior, the network that has no way out and
341342
# the leftovers a killed owner leaves. One job, no matrix and no schedule, on a free account's

0 commit comments

Comments
 (0)