forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #299
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 the Gitea Actions workflow builds and pushes Docker images but never runs the test suite. Broken code can be merged and shipped without any automated verification.Task
testjob to the Gitea Actions workflow that runs before the build jobpytestwith coverage, and fail the workflow if tests failneeds: [test])Acceptance Criteria
testjob exists inbuild.yaml(or a separate workflow file)pytestoutput is visible in the CI logsReference
ROADMAP.md -- P2 CI/CD: No test stage in the Gitea Actions workflow
Triage: Assigned to @AI-Engineer (devops). P2 CI/CD improvement. Will be queued after P1 work completes.
Already implemented on main.
build.yamlhas atestjob that runspytest tests/ -v --tb=short -xwith proper env vars. Build jobs (build-api,build-frontend) useneeds: testto gate on test success. Separatetest.yamlworkflow also runs tests on push/PR to main. All acceptance criteria met. Closing.