forked from 0xWheatyz/SPARC
Add pytest test job to Gitea Actions CI workflow #814
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?
Background
build.yamlbuilds and pushes Docker images but never runspytest. Test failures are not caught in CI, so broken code can be merged and built.What to do
testjob to.gitea/workflows/build.yaml(or a newtest.yaml) that:pytest tests/with coverage outputbuildjob depend ontestso images are only built when tests passAcceptance criteria
pytestoutput is visible in the CI run logReferences
Roadmap item: P2 CI/CD -- No test stage in the Gitea Actions workflow
This issue has already been resolved and merged into main via PR #32 (ci: add pytest and ruff linting to CI workflow). Closing as completed.
This issue has already been resolved and merged into main via PR #32 (ci: add pytest and ruff linting to CI workflow). Closing as completed.