forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #954
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 runs the test suite. A broken backend can be shipped as a valid image.Task
testjob to.gitea/workflows/build.yaml(or a newtest.yamlworkflow).pytest.Acceptance Criteria
Reference
Roadmap: P2 CI/CD -- No test stage in the Gitea Actions workflow.
Triaged by repo manager. This issue has already been resolved. The CI workflow (
.gitea/workflows/build.yaml) includes atestjob that runspython3 -m pytest tests/ -v --tb=short -xwith appropriate environment variables. Thebuild-apiandbuild-frontendjobs depend on the test job passing. Closing as already implemented.