Speed up CI by removing apt and pip #7

Merged
mcp-bot merged 1 commit from feature/faster-ci into develop 2026-11-01 20:42:32 +01:00
Member

Why

CI runs jumped from about one minute to more than ten. The logs show the time goes into apt-get and pip 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

  • Job image ghcr.io/astral-sh/uv:0.13.6-python3.13-trixie-slim already contains uv, so apt and pip are gone
  • The source comes as an archive from the Forgejo API instead of through git
  • Lint moved into scripts/lint.sh, because the image has no make. make lint still works and calls the script
  • timeout-minutes: 15, so a stuck job fails instead of blocking the runner

Verification

  • yaml.safe_load parses the workflow
  • Same steps run by hand in this image under linux/amd64: uv sync --frozen, lint and 275 tests pass
  • This PR verifies the workflow on the real runner
## Why CI runs jumped from about one minute to more than ten. The logs show the time goes into `apt-get` and `pip 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 - Job image `ghcr.io/astral-sh/uv:0.13.6-python3.13-trixie-slim` already contains uv, so `apt` and `pip` are gone - The source comes as an archive from the Forgejo API instead of through `git` - Lint moved into `scripts/lint.sh`, because the image has no `make`. `make lint` still works and calls the script - `timeout-minutes: 15`, so a stuck job fails instead of blocking the runner ## Verification - `yaml.safe_load` parses the workflow - Same steps run by hand in this image under `linux/amd64`: `uv sync --frozen`, lint and 275 tests pass - This PR verifies the workflow on the real runner
Speed up CI by removing apt and pip
All checks were successful
test / test (pull_request) Successful in 59s
1dd1a1abfd
mcp-bot merged commit bf803b65d3 into develop 2026-11-01 20:42:32 +01:00
mcp-bot deleted branch feature/faster-ci 2026-11-01 20:42:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
makeitsystems/Notenwart!7
No description provided.