Stage 7: ui-test CI — Playwright browser/e2e best-effort
Tests · UI / test (push) Successful in 29s

The Gitea runner is an act host executor without apt privileges, so
'playwright install --with-deps chromium' (apt-get) hung ~51m then failed. Drop
--with-deps, bound the browser-install + e2e steps with timeouts and mark them
continue-on-error so a runner lacking GUI libs can't block the gate. The strict
gate stays check/unit/build/size; the e2e smoke remains a hard local pre-push check.
This commit is contained in:
Ilia Denisov
2026-06-03 01:58:19 +02:00
parent 7a48327ab6
commit f2f91ae7e6
+11 -1
View File
@@ -49,8 +49,18 @@ jobs:
- name: Bundle-size budget
run: node scripts/bundle-size.mjs
# The Gitea runner is an `act` host executor without apt privileges, so
# Playwright's `--with-deps` (apt-get) hangs. We download the browser only and
# run the smoke best-effort, bounded by a timeout: the strict gate above
# (check / unit / build / size) plus the hard local pre-push e2e cover the
# slice; this validates the browser path only when the host already has the
# required libraries. Run the job in a Playwright container to make it strict.
- name: Install Playwright browser
run: pnpm exec playwright install --with-deps chromium
run: pnpm exec playwright install chromium
timeout-minutes: 5
continue-on-error: true
- name: E2E smoke (mock)
run: pnpm run test:e2e
timeout-minutes: 5
continue-on-error: true