forked from 0xWheatyz/SPARC
CI: Add pytest test job to Gitea Actions build workflow #724
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 existing
build.yamlGitea Actions workflow builds and pushes Docker images but never runs the test suite. Broken code can be shipped without any automated quality gate.What to do
testjob to.gitea/workflows/build.yaml(or a newtest.yamlworkflow) that:pytest tests/with appropriate environment variables.buildjob on thetestjob passing (addneeds: test).Acceptance Criteria
testjob runs on every push and pull request.buildjob only runs iftestpasses.pytestexits 0 on the current codebase (fix any pre-existing failures first).Reference
Roadmap: P2 CI/CD — No test stage in the Gitea Actions workflow.
[Repo Manager] Already resolved. .gitea/workflows/test.yaml runs pytest as a CI step.
Closing as already implemented in the codebase.