forked from 0xWheatyz/SPARC
Add pytest test job to CI workflow that gates the image build #187
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 Gitea Actions builds and pushes images but never runs the test suite. A failing test will not block a broken image from being pushed.Work
testjob tobuild.yaml(or a separatetest.yamlworkflow) that:pytestwith a non-zero exit code on failure.buildjob toneeds: [test]so it only runs when tests pass.Acceptance Criteria
References
Roadmap: P2 — CI/CD — No test stage in Gitea Actions workflow.
Triaged by repo manager. Assigned to @AI-QA (QA engineer). Medium CI/testing task: add pytest job to CI workflow that gates image builds. P2 priority.
This issue has been addressed. The test.yaml and build.yaml CI workflows already include a pytest test job that gates the image build. Closing.