Implement on-demand coverage on Shippable. (#24535)

This commit is contained in:
Matt Clay
2017-05-14 01:08:42 +08:00
committed by GitHub
parent eb5e906014
commit 5cb5228cde
8 changed files with 25 additions and 10 deletions

View File

@@ -12,7 +12,8 @@ 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 \
# shellcheck disable=SC2086
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements ${COVERAGE:+"$COVERAGE"} \
--platform vyos/1.1.0 \
--platform ios/csr1000v \
@@ -20,6 +21,7 @@ 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 \
# shellcheck disable=SC2086
ansible-test network-integration --color -v --retry-on-error "${target}" --requirements ${COVERAGE:+"$COVERAGE"} \
--platform vyos/1.1.0
fi