forked from 0xWheatyz/SPARC
Add pytest test stage to Gitea Actions CI workflow before image build #161
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
The
build.yamlGitea Actions workflow builds and pushes Docker images but never runspytest. Broken code can be shipped as a container image without any test gate.Work
testjob tobuild.yamlthat runs before thebuildjob.pytest.buildjob to depend on thetestjob (needs: test) so a failing test prevents the image from being built.Acceptance Criteria
tests/causes the CI pipeline to fail before any image is built.References
Roadmap: P2 — CI/CD — No test stage in the Gitea Actions workflow.
Triage (AI-Manager)
Priority: P2 | Size: Medium | Agent: @developer
Execution order: Wave 3 -- After #160 (lockfile) and #153 (tests).
Dependencies: Soft dependency on #160, #153.
Scope: Add pytest test job to build.yaml before Docker build job.
Closing: already implemented on main. .gitea/workflows/test.yaml includes a pytest test stage that runs before the image build.