From a55c96d5c14661be3257cf3b465cbf8b301435eb Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 14 Jun 2021 07:25:46 +0200 Subject: [PATCH] Make extra sanity test runner produce ansibullbot and JUnit output. (#2794) --- tests/utils/shippable/sanity.sh | 2 +- tests/utils/shippable/shippable.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/utils/shippable/sanity.sh b/tests/utils/shippable/sanity.sh index 187105409c..eacbd81609 100755 --- a/tests/utils/shippable/sanity.sh +++ b/tests/utils/shippable/sanity.sh @@ -14,7 +14,7 @@ else fi if [ "${group}" == "extra" ]; then - ../internal_test_tools/tools/run.py --color + ../internal_test_tools/tools/run.py --color --bot --junit exit fi diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index f70aa11380..472bfca1ca 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -73,6 +73,10 @@ else export ANSIBLE_COLLECTIONS_PATHS="${PWD}/../../../" fi +if [ "${test}" == "sanity/extra" ]; then + retry pip install junit-xml --disable-pip-version-check +fi + # START: HACK install dependencies if [ "${script}" != "sanity" ] || [ "${test}" == "sanity/extra" ]; then # Nothing further should be added to this list.