Skip to content

ci: install only Chromium headless shell - #296

Merged
MrPunyapal merged 3 commits into
pestphp:5.xfrom
MrPunyapal:ci/chromium-only-install
Oct 27, 2026
Merged

MrPunyapal merged 3 commits into
pestphp:5.xfrom
MrPunyapal:ci/chromium-only-install

Conversation

@MrPunyapal

Copy link
Copy Markdown
Member

Install only Chromium's headless shell and its system dependencies, matching the browsers exercised by the current CI suite. Add a ten-minute timeout to the install step so a slow package mirror cannot consume most of a CI run.

For example, this job spent 27 minutes downloading Ubuntu packages; the browser downloads afterward took roughly 14 seconds:
https://github.com/pestphp/pest-plugin-browser/actions/runs/40560194984/job/122387137203

This reduces unnecessary dependencies; it does not guarantee that Ubuntu mirrors will always be fast. Browser installation will need expanding if CI starts exercising Firefox, WebKit, or headed Chromium.

Validated the workflow YAML, checked the suite for other browser requirements, and ran the Playwright install command in dry-run mode locally. Linux installation and the full suite are left to CI.

@MrPunyapal
MrPunyapal merged commit 4e5d96e into pestphp:5.x Oct 27, 2026
2 checks passed
@MrPunyapal
MrPunyapal deleted the ci/chromium-only-install branch October 27, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant