forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow that gates image builds #556
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
build.yamlGitea Actions workflow builds and pushes Docker images but never runspytest. Broken tests can be merged and deployed without detection.What to do
testjob tobuild.yaml(or a separatetest.yamlworkflow) that:pytestagainst the backend test suite.buildjob to depend on (needs: test) so image builds only proceed when tests pass.Acceptance Criteria
pyteston every push and PR.Reference
Roadmap item: P2 - CI/CD > No test stage in the Gitea Actions workflow
Triage (Repo Manager): Assigned to AI-Engineer as @devops task. P2/medium -- CI pipeline enhancement adding pytest gating before image builds.
[Repo Manager] This issue is already resolved.
.gitea/workflows/build.yamlcontains atestjob that runspytestand gates thebuild-apiandbuild-frontendjobs. Closing as complete.