Add Forgejo CI: ruff lint + pytest unit + gated image publish #1
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Stands up family-consistent CI on
bvandeusen/StashHandler, mirroring the NhenArchiver Python sibling (minus the integration lane — StashHandler is SQLite-only with no service containers).What's in here
.forgejo/workflows/ci.yml— three lanes on push todev/mainand onv*tags:lint—ruff check .(no dep install, fast-fail).unit—pytest tests/(uv→pip install ofrequirements.txt+ pytest + blake3).publish—needs: [lint, unit]. Builds + pushesgit.fabledsword.com/bvandeusen/stashhandlerwith the family rule-46 tag scheme:dev→:dev+:c-<sha>,main→:latest+:c-<sha>,v*→:<version>+:latest. Auth viaREGISTRY_TOKEN(rule 7).tests/— starter unit suite: hashing (sha256/blake3), SQLite dedup, media-extension filter, transfer modes (copy/hardlink/move).pyproject.toml— ruff target + pytestpythonpath/testpaths.ci-requirements.md(rule 39),.dockerignore.Verification
CI run #1526 on the
devhead — all three lanes green, image pushed (:dev+:c-3121749).🤖 Generated with Claude Code