forked from 0xWheatyz/SPARC
Add pytest test stage to CI workflow that gates the Docker image build #458
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 Gitea Actions workflow
build.yamlbuilds and pushes Docker images but never runspytest. Test failures go undetected until runtime.What to do
testjob to.gitea/workflows/build.yaml(or equivalent) that:pip install -r requirements.txt+ test deps).pytest tests/with appropriate environment variables (use a test database or mocks).buildjob depend on thetestjob succeeding (needs: test).Acceptance criteria
pytestoutput is visible in the CI logs.Reference: ROADMAP.md - P2 CI/CD
[Repo Manager Triage] P2 CI/CD issue - medium complexity. Assigned to @AI-Engineer. Delegating to @devops agent for CI pipeline improvements.
[Repo Manager] Closing as already implemented.
Already implemented:
build.yamlhas atestjob (lines 12-59) that runspytest,ruff check, andtsc --noEmit.build-apiandbuild-frontendjobs haveneeds: test.