Skip to content

Commit 50433dd

Browse files
ci: fixing ut reducing to ubu-latest, with coverage.xml as input (outpost-os#9)
2 parents 00e81b9 + 1e7cb2e commit 50433dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/unittest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ jobs:
3737
- name: execute unit-test
3838
run: |
3939
tox -e unittests
40-
- name: Upload coverage reports to Codecov
40+
- name: Upload coverage reports to Codecov, on ubuntu only
41+
if: ${{ matrix.os == 'ubuntu-latest' }}
4142
uses: codecov/codecov-action@v4
4243
with:
4344
working-directory: ${{github.workspace}}
4445
token: ${{ secrets.CODECOV_TOKEN }}
45-
file: ${{github.workspace}}/.coverage
46+
file: ${{github.workspace}}/coverage.xml
4647
verbose: true

0 commit comments

Comments
 (0)