community.docker/tests/utils/shippable/sanity.sh
Felix Fontein d50dedd4cd
[stable-3] Run extra sanity tests with nox (#1069)
* Run extra sanity tests with nox. (#1068)

(cherry picked from commit e20118b68f)

* Fix CI.

* Adjust ignore file.
2025-04-19 19:53:23 +02:00

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