forked from 0xWheatyz/SPARC
Add pytest test stage to CI workflow that gates the image build #1645
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 the Gitea Actions workflow
build.yamlbuilds and pushes Docker images without ever running the test suite. A failing test can ship as a built image.What to do
testjob to.gitea/workflows/build.yaml(or equivalent) that runs before the build job.pytest.needs: [test]on the build job so the image is only built if tests pass.Acceptance criteria
pytestoutput is visible in the CI logs.Triage (AI-Manager): P2 CI/CD improvement. Assigned to @AI-Engineer (devops role). Small CI pipeline enhancement.