Skip to content

Commit

Permalink
Disable smoketests and use codecov pip package
Browse files Browse the repository at this point in the history
Smoketests are not needed in collections, and none exist in this
collection anyway.
ansible-collections/overview#45 (comment)
  • Loading branch information
jillr committed May 18, 2020
1 parent d542bbb commit f4c89f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 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}"
4 changes: 2 additions & 2 deletions tests/utils/shippable/shippable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ function cleanup
flags="${flags//=/,}"
flags="${flags//[^a-zA-Z0-9_,]/_}"

bash <(curl -s https://codecov.io/bash) \
codecov \
-f "${file}" \
-F "${flags}" \
-n "${test}" \
-t 8a86e979-f37b-4d5d-95a4-960c280d5eaa \
-X coveragepy \
-X pycov \
-X gcov \
-X fix \
-X search \
Expand Down

0 comments on commit f4c89f3

Please sign in to comment.