diff --git a/.github/scripts/unittest.sh b/.github/scripts/unittest.sh index ca3cfd6c0bc..41c750ebce2 100755 --- a/.github/scripts/unittest.sh +++ b/.github/scripts/unittest.sh @@ -14,5 +14,5 @@ pip install --progress-bar=off pytest pytest-mock pytest-cov echo '::endgroup::' echo '::group::Run unittests' -pytest --durations=25 +pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 echo '::endgroup::' diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index b68d634da33..b9b01b7a55e 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -69,7 +69,7 @@ jobs: echo '::endgroup::' echo '::group::Run ONNX tests' - pytest --durations=25 -v test/test_onnx.py + pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_onnx.py echo '::endgroup::' unittests-extended: @@ -101,5 +101,5 @@ jobs: echo '::group::Run extended unittests' export PYTORCH_TEST_WITH_EXTENDED=1 - pytest --durations=25 -v test/test_extended_*.py + pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_extended_*.py echo '::endgroup::'