forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #674
Reference in New Issue
Block a user
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
The current
build.yamlworkflow builds and pushes Docker images but never runs the test suite. A broken commit can be packaged and deployed without any automated verification.What to do
testjob tobuild.yaml(or a separatetest.yaml) that:pytestagainst thetests/directory.buildjob on thetestjob passing (usingneeds: test).Acceptance criteria
pytestruns automatically on every push/PR.References
Roadmap item: P2 CI/CD — no test stage in workflow.
Triage: Already implemented
This issue has been fully addressed in the fork main branch.
Verification:
.gitea/workflows/test.yamlincludes a pytest step (lines 58-67).DATABASE_URL=sqlite://.All acceptance criteria are met. Closing.