forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #83
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
build.yamlbuilds and pushes Docker images but never runs the test suite. Broken code can be built and pushed without any test gate.Work
testjob tobuild.yaml(or a separatetest.yamlworkflow) that:pytestwith a coverage report.buildjob to depend on (needs: test) so images are only built if tests pass.Acceptance Criteria
pytestoutput is visible in the CI job logs.References
Roadmap: CI/CD — no test stage in the Gitea Actions workflow.
Resolved. Pytest test job added to Gitea Actions CI workflow. Implemented in PR #32 (merged). See
.gitea/workflows/test.yaml.