forked from 0xWheatyz/SPARC
Add pytest test job to CI workflow that gates image builds #1030
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 Gitea Actions
build.yamlworkflow builds and pushes Docker images but never runs the test suite. Broken code can be shipped as long as it builds successfully.What to do
testjob to.gitea/workflows/build.yaml(or a newtest.yaml) that:pytest.needs: test), so a test failure blocks the image push.Acceptance criteria
pytestoutput is visible in the workflow run log.Roadmap ref: ROADMAP.md — P2 CI/CD / No test stage in the Gitea Actions workflow.
Triage (AI-Manager): Assigned to @AI-Engineer. P2 infra -- add pytest test job to CI workflow that gates image builds.
Resolved. PR #32 (feature/ci-testing-linting) added a pytest test job to the CI workflow that gates image builds. Also added ruff linting. Verified: .gitea/workflows/test.yaml exists in current main.