mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
501 B
Bash
18 lines
501 B
Bash
5 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -eux -o pipefail
|
||
|
|
||
|
cp -a "${TEST_DIR}/ansible_collections" "${WORK_DIR}"
|
||
|
cd "${WORK_DIR}/ansible_collections/ns/col"
|
||
|
|
||
|
# common args for all tests
|
||
|
common=(--venv --python "${ANSIBLE_TEST_PYTHON_VERSION}" --color --truncate 0 "${@}")
|
||
|
|
||
|
# prime the venv to work around issue with PyYAML detection in ansible-test
|
||
|
ansible-test sanity "${common[@]}" --test ignores
|
||
|
|
||
|
# tests
|
||
|
ansible-test sanity "${common[@]}"
|
||
|
ansible-test units "${common[@]}"
|
||
|
ansible-test integration "${common[@]}"
|