Skip to content

Commit

Permalink
Disable smoketests (ansible-collections#76)
Browse files Browse the repository at this point in the history
* Disable smoketests and use codecov pip package

Smoketests are not needed in collections, and none exist in this
collection anyway.
ansible-collections/overview#45 (comment)

* Not so fast on using codecov-python, not working at all in amazon.aws.
Stick with what works.
  • Loading branch information
jillr authored Jul 30, 2020
1 parent fef43b1 commit 2132948
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions tests/utils/shippable/aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,7 @@ target="shippable/${cloud}/group${group}/"

stage="${S:-prod}"

changed_all_target="shippable/${cloud}/smoketest/"

if ! ansible-test integration "${changed_all_target}" --list-targets > /dev/null 2>&1; then
# no smoketest tests are available for this cloud
changed_all_target="none"
fi

if [ "${group}" == "1" ]; then
# only run smoketest tests for group1
changed_all_mode="include"
else
# smoketest tests already covered by group1
changed_all_mode="exclude"
fi

# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
--remote-terminate always --remote-stage "${stage}" \
--docker --python "${python}" --changed-all-target "${changed_all_target}" --changed-all-mode "${changed_all_mode}"
--docker --python "${python}"

0 comments on commit 2132948

Please sign in to comment.