mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +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:
@@ -22,7 +22,7 @@ if [ -s /tmp/windows.txt ]; then
|
||||
|
||||
target="windows/ci/"
|
||||
|
||||
ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements \
|
||||
ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
|
||||
--windows 2008-SP2 \
|
||||
--windows 2008-R2_SP1 \
|
||||
--windows 2012-RTM \
|
||||
@@ -34,6 +34,6 @@ else
|
||||
|
||||
target="windows/ci/group${job}/"
|
||||
|
||||
ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements \
|
||||
ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
|
||||
--windows 2012-R2_RTM
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user