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
432 B
Bash
18 lines
432 B
Bash
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
2 years ago
|
source ../collection/setup.sh
|
||
3 years ago
|
|
||
2 years ago
|
set -eux
|
||
|
|
||
|
ansible-test sanity --test validate-modules --color --truncate 0 "${@}"
|
||
|
|
||
|
cd ../ps_only
|
||
3 years ago
|
|
||
|
if ! command -V pwsh; then
|
||
|
echo "skipping test since pwsh is not available"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
# Use a PowerShell-only collection to verify that validate-modules does not load the collection loader multiple times.
|
||
|
ansible-test sanity --test validate-modules --color --truncate 0 "${@}"
|