File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,10 @@ jobs:
260260 if : " matrix.use_coverage"
261261 run : python -m coverage xml
262262
263+ - name : Test with pytest
264+ run : |
265+ pytest --cov --junitxml=junit.xml -o junit_family=legacy
266+
263267 - name : Upload coverage to Codecov
264268 if : " matrix.use_coverage"
265269 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -57,6 +57,3 @@ pip-wheel-metadata/
5757
5858# pytest debug logs generated via --debug
5959pytestdebug.log
60-
61- # JUnit test result file
62- junit.xml
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ setenv =
6262 coverage: _PYTEST_TOX_EXTRA_DEP =coverage-enable-subprocess
6363 coverage: COVERAGE_FILE ={toxinidir}/.coverage
6464 coverage: COVERAGE_PROCESS_START ={toxinidir}/.coveragerc
65- coverage: PYTEST_ADDOPTS =--junitxml =junit.xml -o junit_family =legacy
6665
6766 doctesting: _PYTEST_TOX_POSARGS_DOCTESTING =doc/en
6867
You can’t perform that action at this time.
0 commit comments