Skip to content

Run the Playwright jobs on ubuntu-24.04, where Playwright 1.58 installs Chromium - #90

Merged
CSSFrancis merged 1 commit into
mainfrom
ci/pin-ubuntu-24.04
Dec 3, 2026
Merged

CSSFrancis merged 1 commit into
mainfrom
ci/pin-ubuntu-24.04

Conversation

@CSSFrancis

Copy link
Copy Markdown
Owner

GitHub's ubuntu-latest is now Ubuntu 26.04, and playwright install chromium --with-deps (Playwright 1.58.0) refuses it:

Cannot install dependencies for ubuntu26.04-x64 with Playwright 1.58.0!
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

So every Linux test job (3.10–3.13, minimum deps), the ci job and the docs build failed at that step, before any test ran. That happens on any PR (seen on #89).

This pins the runners of the three workflows that install Playwright (ci.yml, docs.yml, tests.yml) to ubuntu-24.04, with a one-line comment saying why. It keeps the browser, and so the screenshot baselines, as they are. Lift the pin when a Playwright release supports 26.04. The release workflows don't install Playwright and are unchanged.

…ls Chromium

ubuntu-latest became Ubuntu 26.04, and `playwright install chromium
--with-deps` (Playwright 1.58.0) refuses it: "Playwright does not support
chromium on ubuntu26.04-x64". Every Linux test job and the docs build
failed at that step before a test ran. Pinning the runners that install
Playwright keeps the browser and the screenshot baselines as they are;
lift the pin when a Playwright release supports 26.04.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.07%. Comparing base (a8aec72) to head (4d69d48).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #90   +/-   ##
=======================================
  Coverage   92.07%   92.07%           
=======================================
  Files          42       42           
  Lines        5489     5489           
=======================================
  Hits         5054     5054           
  Misses        435      435           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CSSFrancis
CSSFrancis merged commit 2c6db86 into main Dec 3, 2026
12 checks passed
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.

2 participants