Debian Codegraph @

ansible_collections/community/crypto/tests/utils/shippable/units.sh

raw
1 #!/usr/bin/env bash
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 set -o pipefail -eux
7
8 if [[ "${COVERAGE:-}" == "--coverage" ]]; then
9 timeout=90
10 else
11 timeout=30
12 fi
13
14 ansible-test env --timeout "${timeout}" --color -v
15
16 # shellcheck disable=SC2086
17 ansible-test units --color -v --docker default ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \