Make extra sanity test runner produce ansibullbot and JUnit output. (#154)

This commit is contained in:
Felix Fontein
2021-06-14 07:24:01 +02:00
committed by GitHub
parent fc241019b5
commit 22bc8da783
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -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
+6 -1
View File
@@ -73,6 +73,11 @@ else
export ANSIBLE_COLLECTIONS_PATHS="${PWD}/../../../"
fi
if [ "${test}" == "sanity/extra" ]; then
retry pip install junit-xml --disable-pip-version-check
fi
# START: HACK
if [ "${script}" != "sanity" ] || [ "${test}" == "sanity/extra" ]; then
# Nothing further should be added to this list.
# This is to prevent modules or plugins in this collection having a runtime dependency on other collections.
@@ -91,9 +96,9 @@ if [ "${script}" != "sanity" ] && [ "${script}" != "units" ]; then
# retry ansible-galaxy -vvv collection install community.crypto
# retry ansible-galaxy -vvv collection install community.general
fi
# END: HACK
export PYTHONIOENCODING='utf-8'
if [ "${JOB_TRIGGERED_BY_NAME:-}" == "nightly-trigger" ]; then