forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow to gate image builds #319
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
Roadmap item: P2 CI/CD — test stage in CI
build.yamlbuilds and pushes Docker images but never runs the test suite. Broken code can be shipped to the registry without any automated verification.Work Required
testjob to.gitea/workflows/build.yaml(or create a separatetest.yamlworkflow)requirements.txt, and runpytestbuildjob toneeds: [test]so it only runs after tests passAcceptance Criteria
mainand on every PRThis issue has already been resolved in the fork's main branch. Already implemented in PR #32 and refined in later PRs. See .gitea/workflows/test.yaml pytest step.
Closing as completed.