You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add test execution to GitHub Actions workflow with best practices
- Run tests before building Docker image
- Use latest action versions (checkout@v4, setup-python@v5, upload-artifact@v4)
- Enable pip dependency caching for faster builds
- Generate both XML coverage and JUnit test reports
- Upload test results as artifacts for debugging
- Tests must pass before Docker build proceeds
Follows GitHub's recommended Python testing practices for CI/CD.
0 commit comments