Skip to content

ci: move off retired ubuntu-20.04 runner and pin ruff for generated-code tests#50

Merged
maartenbreddels merged 2 commits into
masterfrom
ci/fix-runners
Jun 15, 2026
Merged

ci: move off retired ubuntu-20.04 runner and pin ruff for generated-code tests#50
maartenbreddels merged 2 commits into
masterfrom
ci/fix-runners

Conversation

@maartenbreddels

Copy link
Copy Markdown
Contributor

What

Two small CI fixes that currently block the test workflow on every PR:

  1. Retired runnercode-quality and unit-test jobs ran on ubuntu-20.04, which GitHub retired, so the jobs queued forever and never started. Moved both to ubuntu-22.04 (which the install job already uses). Python 3.6 is dropped from the unit-test matrix because there is no 3.6 build for ubuntu-22.04; 3.7–3.13 remain.

  2. Formatter driftreacton/generate_test.py compares generated source against ruff-formatted expectations. ruff 0.15 changed its style (keeps a blank line at the start of a function body), so the unpinned [dev] install made these tests fail. Pinned ruff==0.8.3 at the CI install step, matching the version in .pre-commit-config.yaml.

Why separate

This unblocks CI for the whole repo independently of any feature work, so it should land first.

🤖 Generated with Claude Code

maartenbreddels and others added 2 commits June 15, 2026 17:27
GitHub retired the ubuntu-20.04 runner image, so the code-quality and
unit-test jobs queued forever and never started. Move them to
ubuntu-22.04, which the installation job already uses successfully and
which still provides Python 3.7/3.8 via actions/setup-python.

Python 3.6 is dropped from the unit-test matrix because no 3.6 builds
exist for ubuntu-22.04; 3.7 through 3.13 remain.

Pin bqplot<0.13 (0.13 breaks import) and pandas<3 (breaks one test) at
the workflow install step rather than in pyproject, since these are
CI-environment issues, not package requirements.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The generate_test.py assertions encode the output of `ruff format`,
which changed its blank-line style in newer releases, so an unpinned
ruff makes these tests fail in CI. Pin ruff to 0.8.3, the same version
the pre-commit hook already uses, where the tests pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@maartenbreddels maartenbreddels merged commit 4feb168 into master Jun 15, 2026
15 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.

1 participant