Skip to content

feat(ci): run the unit tests on every supported Python version - #1042

Merged
blaudden merged 1 commit into
mainfrom
ci-unit-tests
Nov 13, 2026
Merged

blaudden merged 1 commit into
mainfrom
ci-unit-tests

Conversation

@blaudden

@blaudden blaudden commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

This repository had no CI. Nothing ran the tests of the two packages, and nothing checked that they install on the Python versions they declare.

Analysis

Both packages declare support for Python 3.11 to 3.13. scaleoututil 1.2.0 requires numpy 2.5, which needs Python 3.12, so it does not install on 3.11. The scaleout repository's CI did not catch it: its jobs for 3.11 and 3.13 ran on Python 3.12. A fix for numpy is pending there.

Solution

A workflow runs the tests on each supported Python version. Each job installs both packages with pip from the checkout, the way users install them, and runs their tests. The workflow lives only in this repository: the export from the scaleout repository replaces the two package folders and leaves .github/ as it is.

  • Adding a test workflow with one job per Python version: 3.11, 3.12 and 3.13.

Test plan

  • Ran the workflow's steps locally:
Python Install scaleoututil scaleout
3.11 fails: numpy 2.5 requires 3.12
3.12 ok 346 passed 174 passed
3.13 ok 346 passed 174 passed
  • actionlint passes.

@blaudden
blaudden marked this pull request as ready for review November 11, 2026 15:07
This repository had no CI. Nothing ran the tests of the exported
packages, and nothing checked that they install on the Python versions
they claim to support.

Both packages declare support for Python 3.11 to 3.13. scaleoututil
1.2.0 requires numpy 2.5, which needs Python 3.12, so it does not install
on 3.11. The scaleout repository's CI did not notice: its jobs for 3.11
and 3.13 ran on Python 3.12.

A workflow now installs both packages with pip, the way users install
them, and runs their tests on Python 3.11, 3.12 and 3.13. The export
replaces only the two package folders, so the workflow stays.

- Adding a test workflow with one job per Python version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@blaudden
blaudden merged commit 11661cc into main Nov 13, 2026
3 checks passed
@blaudden
blaudden deleted the ci-unit-tests branch November 13, 2026 11:21
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