We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2bca61 commit eb141ceCopy full SHA for eb141ce
1 file changed
.github/workflows/ci.yml
@@ -34,8 +34,15 @@ jobs:
34
run: |
35
cd test-django-project && pytest --cov=django_models --cov-branch --cov-report=xml --cov-report=term --maxfail=2
36
37
- - name: Upload test results to Codecov
38
- if: ${{ !cancelled() }}
39
- uses: codecov/test-results-action@v1
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v5
40
with:
41
token: ${{ secrets.CODECOV_TOKEN }}
+ files: ./coverage.xml
42
+ fail_ci_if_error: true
43
+
44
+ - name: Upload coverage artifact
45
+ uses: actions/upload-artifact@v4
46
+ with:
47
+ name: coverage-report
48
+ path: coverage.xml
0 commit comments