ci(gitea): run e2e tests with a single worker, VPS can't handle parallel chromium+webkit
Some checks failed
Caterium QA / qa (push) Failing after 58m54s
Some checks failed
Caterium QA / qa (push) Failing after 58m54s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
3c15562e08
commit
c985714ad6
@ -66,4 +66,13 @@ jobs:
|
|||||||
- run: php -l public/api/index.php && php -l ops/timeweb/api-proxy.php
|
- run: php -l public/api/index.php && php -l ops/timeweb/api-proxy.php
|
||||||
- run: php tests/proxy-http.php app && php tests/proxy-http.php api
|
- run: php tests/proxy-http.php app && php tests/proxy-http.php api
|
||||||
- run: npx playwright install --with-deps chromium webkit
|
- run: npx playwright install --with-deps chromium webkit
|
||||||
- run: npm run test:e2e
|
- name: Run e2e tests
|
||||||
|
# This VPS (2 CPU / 4GB) also runs Gitea + Postgres + Caddy. Playwright's
|
||||||
|
# default worker count (one per CPU, all projects in parallel) spins up
|
||||||
|
# chromium and webkit processes concurrently and has twice now driven the
|
||||||
|
# host into an unresponsive state (server needed a hard reboot) partway
|
||||||
|
# through this step. --workers=1 runs the same test suite serially
|
||||||
|
# instead of in parallel — slower, but it keeps peak memory/CPU to one
|
||||||
|
# browser process at a time. GitHub-hosted runners have real headroom,
|
||||||
|
# so .github/workflows/qa.yml keeps full parallelism.
|
||||||
|
run: npx playwright test --config=tests/playwright.config.mjs --workers=1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user