Commit be21f5f
committed
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.1 parent 2d903d6 commit be21f5f
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
20 | 48 | | |
21 | 49 | | |
22 | 50 | | |
| |||
0 commit comments