From eae23d2dbdd26b738a1702e6a064d02df391d48e Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 23 Jan 2018 10:00:55 -0800 Subject: [PATCH] Skip coverage on routine CI runs. --- test/utils/shippable/other.sh | 4 ++-- test/utils/shippable/units.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"} \