forked from 0xWheatyz/SPARC
Add pytest test stage to Gitea Actions CI workflow that gates image builds #106
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 runs the test suite. Broken code can be shipped without detection.Work
testjob tobuild.yamlthat runs before thebuildjob.pytest.buildjob to depend on (needs: test) so a failing test aborts the image build.Acceptance Criteria
References
Roadmap: P2 — CI/CD — No test stage in the Gitea Actions workflow.