File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ pip install --progress-bar=off pytest pytest-mock pytest-cov
14
14
echo ' ::endgroup::'
15
15
16
16
echo ' ::group::Run unittests'
17
- pytest --durations=25
17
+ pytest --junit-xml= " ${RUNNER_TEST_RESULTS_DIR} /test-results.xml " -v -- durations=25
18
18
echo ' ::endgroup::'
Original file line number Diff line number Diff line change 69
69
echo '::endgroup::'
70
70
71
71
echo '::group::Run ONNX tests'
72
- pytest --durations=25 -v test/test_onnx.py
72
+ pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_onnx.py
73
73
echo '::endgroup::'
74
74
75
75
unittests-extended :
@@ -101,5 +101,5 @@ jobs:
101
101
102
102
echo '::group::Run extended unittests'
103
103
export PYTORCH_TEST_WITH_EXTENDED=1
104
- pytest --durations=25 -v test/test_extended_*.py
104
+ pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_extended_*.py
105
105
echo '::endgroup::'
You can’t perform that action at this time.
0 commit comments