forked from 0xWheatyz/SPARC
Add pytest test stage to Gitea Actions CI workflow #938
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?
Add test job to build.yaml that runs pytest before the image build/push.
Roadmap: P2 CI/CD -- No test stage in Gitea Actions workflow (ROADMAP.md)
What to do:
Acceptance criteria:
This issue has been resolved. Both
.gitea/workflows/build.yamland.gitea/workflows/test.yamlinclude a pytest step that runspython3 -m pytest tests/ -v --tb=short -xwith appropriate environment variables (DATABASE_URL, API_KEY, JWT_SECRET, etc.). Closing as completed.