summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-test-docker/runme.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/ansible-test-docker/runme.sh')
-rwxr-xr-xtest/integration/targets/ansible-test-docker/runme.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-test-docker/runme.sh b/test/integration/targets/ansible-test-docker/runme.sh
new file mode 100755
index 0000000..014d363
--- /dev/null
+++ b/test/integration/targets/ansible-test-docker/runme.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+source ../collection/setup.sh
+
+set -x
+
+# common args for all tests
+# because we are running in shippable/generic/ we are already in the default docker container
+common=(--python "${ANSIBLE_TEST_PYTHON_VERSION}" --venv --venv-system-site-packages --color --truncate 0 "${@}")
+
+# tests
+ansible-test sanity "${common[@]}"
+ansible-test units "${common[@]}"
+ansible-test integration "${common[@]}"