Skip to content

Commit 543cf94

Browse files
committed
GitHub Actions: Upgrade to codecov v4
1 parent e9d4308 commit 543cf94

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ jobs:
3333
- name: Run tests and generate coverage report
3434
run: coverage run
3535
- name: Upload coverage to Codecov
36-
uses: codecov/codecov-action@v3
37-
env:
38-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
36+
uses: codecov/codecov-action@v4
3937
with:
38+
directory: ./coverage/reports/
4039
env_vars: OS,PYTHON,DJANGO
41-
name: codecov-umbrella
4240
fail_ci_if_error: true
41+
flags: unittests
42+
name: codecov-umbrella
43+
token: ${{ secrets.CODECOV_TOKEN }}
4344
verbose: true

0 commit comments

Comments
 (0)