ci: replace legacy tox workflow with uv-based CI pipeline#7
Merged
jcardozo-eth merged 1 commit intomasterfrom Feb 26, 2026
Merged
ci: replace legacy tox workflow with uv-based CI pipeline#7jcardozo-eth merged 1 commit intomasterfrom
jcardozo-eth merged 1 commit intomasterfrom
Conversation
The old run_tests.yml targeted Python 2.7 and 3.6-3.8 using tox and outdated action versions (checkout@v1, setup-python@v1). Remove it entirely and add a modern ci.yml that uses uv as the sole toolchain. - Test matrix: Python 3.10, 3.11, 3.12, 3.13 in parallel on ubuntu-24.04 - Triggers on push to any branch and pull requests to master - Pinned actions: checkout@v6.0.2, setup-uv@v7.3.0 - Steps: uv sync --extra test, uv run pytest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The repository inherited a
run_tests.ymlworkflow from the upstream infrae/pyoai that targeted Python 2.7 and 3.6–3.8 using tox as the test runner, with outdated action versions (actions/checkout@v1,actions/setup-python@v1). This workflow has been non-functional since the modernization effort began — the project now requires Python 3.10+ and no longer ships atox.ini.This PR removes the legacy workflow entirely and replaces it with a modern
ci.ymlbuilt around uv, matching the same toolchain used for local development. By usinguv syncanduv run pytestin CI, the test environment is resolved from the samepyproject.tomlanduv.lockthat developers use locally, ensuring reproducible builds across local machines and CI runners.Changes
run_tests.yml— obsolete tox-based workflow for Python 2.7/3.6–3.8ci.yml— modern uv-based CI pipelineubuntu-24.04masteractions/checkout@v6.0.2,astral-sh/setup-uv@v7.3.0uv sync --extra testfor dependency installation,uv run pytestfor test execution — no caching or extra complexity