forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions build.yaml that gates the image build #837
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?
Background
build.yamlbuilds and pushes Docker images but never runspytest. Broken backend code can be shipped without any test gate.What to do
testjob inbuild.yamlthat runs before thebuildjobpytestbuildjob should declareneeds: testso it only runs when tests passAcceptance criteria
testjob is visible in the Gitea Actions UIReferences
Roadmap item: P2 CI/CD -- No test stage in the Gitea Actions workflow
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Resolved by PR #32. pytest test job added to CI workflow that gates the image build.