forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #145
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 current
build.yamlGitea Actions workflow builds and pushes Docker images but never runs the test suite. A broken commit can be packaged and pushed without any test gate.Work
testjob tobuild.yaml(or a separatetest.yamlworkflow) that:pip install -r requirements.txt)pytestwith an appropriate test database or mocked dependenciesbuildjob depend on thetestjob so it only runs when tests pass.Acceptance Criteria
pytestoutput with pass/fail counts.References
Roadmap: P2 — CI/CD — No test stage in the Gitea Actions workflow.
Closing: pytest test job is present in both build.yaml and test.yaml CI workflows. Resolved by merged PRs.