forked from 0xWheatyz/SPARC
Add pytest test job to CI workflow that gates the image build #1365
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
Roadmap item: P2 CI/CD - No test stage in Gitea Actions workflow
build.yamlbuilds and pushes images but never runs the test suite. A failing test does not block the build.What to do
testjob to.gitea/workflows/build.yaml(or equivalent) that:pytest(with coverage if possible).buildjob depend on thetestjob (needs: test) so a test failure prevents an image from being pushed.Acceptance criteria
testjob in the Gitea Actions UI.pytestoutput (pass/fail counts) is visible in the job logs.[Repo Manager] This issue has already been resolved on the main branch. Verified by code inspection during triage. Closing.