Skip to content

Commit 102720d

Browse files
ci: adding codecov in unittests reusable workflow (#5)
enables usage of codecov in python packages. This requires python packages that uses this workflow to: - have unit tests - use the pytest-cov for unit testing (see codecov manual)
2 parents cda22ce + ca101dd commit 102720d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/unittest.yml

+4
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ jobs:
3737
- name: execute unit-test
3838
run: |
3939
tox -e unittests
40+
- name: Upload coverage reports to Codecov
41+
uses: codecov/codecov-action@v4
42+
with:
43+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)