Skip to content

Commit eb141ce

Browse files
author
Rafael Henter
committed
new test
1 parent f2bca61 commit eb141ce

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,15 @@ jobs:
3434
run: |
3535
cd test-django-project && pytest --cov=django_models --cov-branch --cov-report=xml --cov-report=term --maxfail=2
3636
37-
- name: Upload test results to Codecov
38-
if: ${{ !cancelled() }}
39-
uses: codecov/test-results-action@v1
37+
- name: Upload coverage to Codecov
38+
uses: codecov/codecov-action@v5
4039
with:
4140
token: ${{ secrets.CODECOV_TOKEN }}
41+
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

Comments
 (0)