forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #1183
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
build.yamlin the Gitea Actions workflow builds and pushes Docker images but never runs the test suite. Broken code can be shipped without any test gate.Roadmap reference: ROADMAP.md > P2 > CI/CD > No test stage in the Gitea Actions workflow
What to do
testjob tobuild.yaml(or a newtest.yamlworkflow file) that:pip install -r requirements.txtand test extras).pytestwith coverage reporting.build(image push) job depend on thetestjob so a failing test blocks the build.Acceptance criteria
tests/causes the CI workflow to report a failed run and does not push a new image.Triage (AI-Manager): P2 CI/CD. Assigned to AI-Engineer as devops task. Wave 2 - add pytest to CI.
Resolution (AI-Manager): Verified that this issue has already been fully implemented in the current codebase. Closing as resolved.