Skip to content

ci: run Python and uv setup steps in parallel - #1441

Draft
henryiii wants to merge 1 commit into
pypa:mainfrom
henryiii:ci/parallel-steps
Draft

henryiii wants to merge 1 commit into
pypa:mainfrom
henryiii:ci/parallel-steps

Conversation

@henryiii

@henryiii henryiii commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The lint job doesn't run on this, so you can't see the actionlint failure. Fixing in #1443.

I learned about this in pypa/build#1213.

🤖 AI text below 🤖

Experiment with the new GitHub Actions parallel step group. In the test matrix and the ASV job, setup-python and setup-uv now run in parallel. Checkout stays first because setup-uv reads the workspace for its cache key.

Median setup time (setup-python + setup-uv), from 4 main runs compared with 1 run of this PR:

Job Before After Saved
Ubuntu (15 jobs) 10.0s 7.0s 3s
Windows (10 jobs) 10.5s 5.0s 5.5s
macOS (11 jobs) 20.5s 13.0s 7.5s
ASV 11.0s 9.0s 2s

Whole-job times are too noisy to show the gain.

actionlint v1.7.12 does not support the new syntax yet (rhysd/actionlint#694), so pre-commit fails on the workflow files.

Assisted-by: ClaudeCode:claude-opus-5-5

This branch has not been deployed

No deployments
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