Skip to content

Commit 8035b01

Browse files
committed
more coverage report bug fixing
1 parent 2601f3c commit 8035b01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
continue-on-error: ${{ startsWith(matrix.os, 'windows') &&
4242
(matrix.python-version == '3.13' || matrix.python-version == '3.14')}}
4343
run: |
44-
coverage run -m pytest --disable-warnings -p no:warnings test
45-
coverage xml
44+
coverage run -m pytest --disable-warnings -p no:warnings test --cov=. --cov-append --cov-report=xml
4645
- name: Upload coverage data
4746
uses: actions/upload-artifact@v4
4847
with:
@@ -53,7 +52,7 @@ jobs:
5352
uses: coverallsapp/github-action@v2
5453
with:
5554
coverage-format: cobertura
56-
path-to-coverage-file: coverage.xml
55+
file: coverage.xml
5756
parallel: true
5857
flag-name: Unit Test
5958

0 commit comments

Comments
 (0)