Speed up CI by removing apt and pip #7
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/faster-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
CI runs jumped from about one minute to more than ten. The logs show the time goes into
apt-getandpip install uv, while the tests themselves take 25 seconds. The runner works one job at a time, so every PR waits for all of this twice, and the branch protection planned for later would make it worse.What
ghcr.io/astral-sh/uv:0.13.6-python3.13-trixie-slimalready contains uv, soaptandpipare gonegitscripts/lint.sh, because the image has nomake.make lintstill works and calls the scripttimeout-minutes: 15, so a stuck job fails instead of blocking the runnerVerification
yaml.safe_loadparses the workflowlinux/amd64:uv sync --frozen, lint and 275 tests pass