diff options
Diffstat (limited to '.azure-pipelines/commands/units.sh')
-rwxr-xr-x | .azure-pipelines/commands/units.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.azure-pipelines/commands/units.sh b/.azure-pipelines/commands/units.sh new file mode 100755 index 0000000000..dc115dec15 --- /dev/null +++ b/.azure-pipelines/commands/units.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -o pipefail -eux + +declare -a args +IFS='/:' read -ra args <<< "$1" + +version="${args[1]}" + +# shellcheck disable=SC2086 +ansible-test units --color -v --docker default --python "${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \ |