forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow to gate image builds #417
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?
Summary
build.yamlbuilds and pushes Docker images but never runspytest. Broken tests can be silently shipped.What to do
testjob inbuild.yaml(or a separatetest.yamlworkflow) that:pip install -r requirements.txtand test deps)pytest tests/with coverage reportingbuildjobneeds: [test]so images are only built when tests passAcceptance Criteria
mainpytestoutput is visible in the CI run logsReference
Roadmap: P2 - CI/CD / No test stage
Triage: Already Implemented
After reviewing the codebase, this issue has already been fully implemented in the current
mainbranch.This issue can be closed.