@@ -58,17 +58,14 @@ jobs:
5858
5959
6060 include :
61- # Put coverage and results files in the project directory for mac
61+ # Put results files in the project directory for mac
6262 - os : macos-15-intel
63- cov_file : " {project}/dist/coverage.xml"
6463 results_file : " {project}/dist/pytest-results.xml"
6564 # And for windows
6665 - os : windows-latest
67- cov_file : " {project}/dist/coverage.xml"
6866 results_file : " {project}/dist/pytest-results.xml"
69- # But put coverage and results files in the output dir mounted in docker for linux
67+ # But put results files in the output dir mounted in docker for linux
7068 - os : ubuntu-latest
71- cov_file : /output/coverage.xml
7269 results_file : /output/pytest-results.xml
7370
7471 exclude :
@@ -112,9 +109,9 @@ jobs:
112109 # cibuildwheel reports it cannot clean up the temp dir used for testing,
113110 # and fails the build. Sleeping seems to give pytest enough time to
114111 # fully clean up.
115- CIBW_TEST_COMMAND : pytest {project}/tests --cov-report xml:${{ matrix.cov_file }} -- junit-xml=${{ matrix.results_file }} && sleep 2
112+ CIBW_TEST_COMMAND : pytest {project}/tests --junit-xml=${{ matrix.results_file }} && sleep 2
116113 # Run with faulthandler and -s in the hope we get a stack trace on seg fault on windows...
117- CIBW_TEST_COMMAND_WINDOWS : python -X faulthandler -m pytest -s {project}/tests --cov-report xml:${{ matrix.cov_file }} -- junit-xml=${{ matrix.results_file }}
114+ CIBW_TEST_COMMAND_WINDOWS : python -X faulthandler -m pytest -s {project}/tests --junit-xml=${{ matrix.results_file }}
118115 # Disable auditwheel as it isn't compatible with setuptools_dso approach
119116 # https://github.com/mdavidsaver/setuptools_dso/issues/17
120117 CIBW_REPAIR_WHEEL_COMMAND : " "
@@ -130,12 +127,6 @@ jobs:
130127 name : dist-${{ matrix.os }}-${{ matrix.python }}
131128 path : dist/softioc*
132129
133- - name : Upload coverage to Codecov
134- uses : codecov/codecov-action@v4
135- with :
136- name : ${{ matrix.os }}/${{ matrix.python }}
137- directory : dist
138-
139130 test-sdist :
140131 needs : [sdist]
141132 strategy :
0 commit comments