Skip to content

Commit 2601f3c

Browse files
committed
manually create coverage report, do not let coverall create report
1 parent 43e4fc7 commit 2601f3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
(matrix.python-version == '3.13' || matrix.python-version == '3.14')}}
4343
run: |
4444
coverage run -m pytest --disable-warnings -p no:warnings test
45+
coverage xml
4546
- name: Upload coverage data
4647
uses: actions/upload-artifact@v4
4748
with:
@@ -51,6 +52,8 @@ jobs:
5152
if: startsWith(matrix.os, 'ubuntu') && endsWith(matrix.python-version, '3.14')
5253
uses: coverallsapp/github-action@v2
5354
with:
55+
coverage-format: cobertura
56+
path-to-coverage-file: coverage.xml
5457
parallel: true
5558
flag-name: Unit Test
5659

0 commit comments

Comments
 (0)