mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add support for on-demand coverage on Shippable.
Triggered by setting the COVERAGE environment var to a non-empty value. Alternatively the string `ci_coverage` can be added to a commit message.
This commit is contained in:
@@ -12,7 +12,7 @@ if [ -s /tmp/network.txt ]; then
|
||||
|
||||
echo "Running network integration tests for multiple platforms concurrently."
|
||||
|
||||
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements \
|
||||
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
|
||||
--platform vyos/1.1.0 \
|
||||
--platform ios/csr1000v \
|
||||
|
||||
@@ -20,6 +20,6 @@ else
|
||||
echo "No changes requiring integration tests specific to networking were detected."
|
||||
echo "Running network integration tests for a single platform only."
|
||||
|
||||
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements \
|
||||
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
|
||||
--platform vyos/1.1.0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user