diff --git a/test/utils/shippable/other.sh b/test/utils/shippable/other.sh index bc93895f071..526339759e5 100755 --- a/test/utils/shippable/other.sh +++ b/test/utils/shippable/other.sh @@ -12,9 +12,9 @@ else base_branch="" fi # shellcheck disable=SC2086 -ansible-test compile --failure-ok --color -v --junit --coverage ${CHANGED:+"$CHANGED"} --docker default +ansible-test compile --failure-ok --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} --docker default # shellcheck disable=SC2086 -ansible-test sanity --failure-ok --color -v --junit --coverage ${CHANGED:+"$CHANGED"} --docker default --docker-keep-git --base-branch "${base_branch}" +ansible-test sanity --failure-ok --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} --docker default --docker-keep-git --base-branch "${base_branch}" rm test/results/bot/ansible-test-failure.json diff --git a/test/utils/shippable/units.sh b/test/utils/shippable/units.sh index b3d2f172820..7d681e8fba4 100755 --- a/test/utils/shippable/units.sh +++ b/test/utils/shippable/units.sh @@ -8,4 +8,4 @@ IFS='/:' read -ra args <<< "$1" version="${args[1]}" # shellcheck disable=SC2086 -ansible-test units --color -v --docker default --python "${version}" --coverage ${CHANGED:+"$CHANGED"} \ +ansible-test units --color -v --docker default --python "${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \