File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -380,6 +380,11 @@ jobs:
380380
381381 ARM_TEST=${{ matrix.test_arm_baremetal }}
382382
383+ # Output test report on pytest runs so that github can surface failing tests.
384+ if [[ -n "${RUNNER_TEST_RESULTS_DIR:-}" ]]; then
385+ export PYTEST_ADDOPTS="--junit-xml=${RUNNER_TEST_RESULTS_DIR}/${ARM_TEST}.xml ${PYTEST_ADDOPTS:-}"
386+ fi
387+
383388 # Test test_arm_baremetal.sh with test
384389 backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
385390
@@ -415,6 +420,11 @@ jobs:
415420
416421 ARM_TEST=${{ matrix.test_arm_baremetal }}
417422
423+ # Output test report on pytest runs so that github can surface failing tests.
424+ if [[ -n "${RUNNER_TEST_RESULTS_DIR:-}" ]]; then
425+ export PYTEST_ADDOPTS="--junit-xml=${RUNNER_TEST_RESULTS_DIR}/${ARM_TEST}.xml ${PYTEST_ADDOPTS:-}"
426+ fi
427+
418428 backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
419429
420430 test-arm-ootb-linux :
You can’t perform that action at this time.
0 commit comments