forked from 0xWheatyz/SPARC
Add pytest test stage to Gitea Actions CI workflow that gates the build #1536
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.yamlin Gitea Actions builds and pushes Docker images but never runspytest. Tests can fail silently while broken images are pushed.Roadmap reference: ROADMAP.md > P2 > CI/CD > No test stage in the Gitea Actions workflow
What to do
testjob tobuild.yaml(or a newtest.yamlworkflow) that:pytest tests/(or the appropriate test command)buildjob depend on thetestjob succeeding (needs: [test])Acceptance criteria
pytestruns on every push and PR in CITriage review: Resolved: .gitea/workflows/build.yaml and test.yaml both include pytest test stages that gate the build. Closing as already complete.