Skip to content

Commit 6784f20

Browse files
committed
github/workflows: upload coverage directly after testing
Also add a name to the step. Signed-off-by: Jan Luebbe <[email protected]>
1 parent c9651ef commit 6784f20

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/reusable-unit-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
- name: Test with pytest
5757
run: |
5858
pytest --cov-config .coveragerc --cov=labgrid --local-sshmanager --ssh-username runner -k "not test_docker_with_daemon"
59+
- name: Upload coverage to Codecov
60+
uses: codecov/codecov-action@v4
61+
with:
62+
token: ${{ secrets.CODECOV_TOKEN }}
5963
- name: Build documentation
6064
run: |
6165
make -C doc clean
@@ -67,6 +71,3 @@ jobs:
6771
# check README.rst separately
6872
pip install rstcheck
6973
rstcheck --ignore-languages=bash --report-level=WARNING README.rst
70-
- uses: codecov/codecov-action@v4
71-
with:
72-
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)