summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/community/aws/tests/utils/shippable/sanity.sh
blob: dd1e68b93576843a1b324a4f1860128fdddb7965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -o pipefail -eux

if [ "${BASE_BRANCH:-}" ]; then
    base_branch="origin/${BASE_BRANCH}"
else
    base_branch=""
fi

# shellcheck disable=SC2086
ansible-test sanity --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
    --docker --base-branch "${base_branch}" \
    --allow-disabled