mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-15 11:32:05 +00:00
* Run extra sanity tests with nox. (#1068)
(cherry picked from commit e20118b68f)
* Fix CI.
* Adjust ignore file.
18 lines
518 B
Bash
Executable File
18 lines
518 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
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
|