mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add support for ansible-test --coverage-check. (#53573)
This commit is contained in:
@@ -6,7 +6,7 @@ set -o pipefail -eux
|
||||
ansible-test network-integration --explain ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} 2>&1 \
|
||||
| { grep ' network-integration: .* (targeted)$' || true; } > /tmp/network.txt
|
||||
|
||||
if [ "${COVERAGE}" ]; then
|
||||
if [ "${COVERAGE}" == "--coverage" ]; then
|
||||
# when on-demand coverage is enabled, force tests to run for all network platforms
|
||||
echo "coverage" > /tmp/network.txt
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user