Forgejo Actions workflow for lint + tests #4
Labels
No labels
documentation
feature
infrastructure
manual-work
tech-debt
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hiten/claude-code-pwa#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
Once tests and lint exist, they should run on every push.
Acceptance Criteria
.forgejo/workflows/ci.yml(or.gitea/workflows/ci.ymlif that's what the runner picks up) that:ruff checkmypy app.pypytestDepends on
T1 (tests), T5 (lint)
Workflow file landed at
.github/workflows/ci.ymland exercisesruff,mypy,pytestagainst Python 3.12. Mirrors the IronPulse setup. Blocked on infra: no Forgejo Actions runner is registered for this repo yet —workflow_runsstays empty even after a push. Tracked separately as a manual-work issue.Done. CI run #655 green:
The runner setup needed a few fixes after install:
networkpointed athome-server_homelab(does not exist) — corrected tohome-server_frontendso job containers can resolveforgejo:3000-c /data/config.ymlflag in the compose commandnode:20-bookworm(the defaultubuntu-latestmapping) and apt-installs Python 3.11 —setup-python@v5does not work on Bookworm andpython:3.12-slimlacks the Node runtime thatactions/checkout@v4needsRun: https://git.hiten-patel.co.uk/hiten/claude-code-pwa/actions/runs/7