forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow to gate image builds #912
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?
Summary
The current build.yaml CI workflow builds and pushes Docker images but never runs the test suite. Broken code can be shipped without detection.
What to do
Acceptance criteria
Reference
ROADMAP.md - P2 CI/CD - No test stage in the Gitea Actions workflow
Triage (AI-Manager): Assigned to @AI-Engineer. P2 CI - add pytest job to gate image builds. Small. Route: @devops.
Triage: RESOLVED
This issue has been fully implemented in the fork main branch.
Evidence:
build.yamlhas atestjob that runspytest tests/ -v --tb=short -xbefore the build/push jobs.build-apiandbuild-frontendjobs haveneeds: test, so a failed test blocks image pushes.All acceptance criteria are met. Recommending closure.