mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Skip coverage on routine CI runs.
This commit is contained in:
parent
cdf8f29e70
commit
eae23d2dbd
2 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ else
|
||||||
base_branch=""
|
base_branch=""
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
ansible-test compile --failure-ok --color -v --junit --coverage ${CHANGED:+"$CHANGED"} --docker default
|
ansible-test compile --failure-ok --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} --docker default
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
ansible-test sanity --failure-ok --color -v --junit --coverage ${CHANGED:+"$CHANGED"} --docker default --docker-keep-git --base-branch "${base_branch}"
|
ansible-test sanity --failure-ok --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} --docker default --docker-keep-git --base-branch "${base_branch}"
|
||||||
|
|
||||||
rm test/results/bot/ansible-test-failure.json
|
rm test/results/bot/ansible-test-failure.json
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,4 @@ IFS='/:' read -ra args <<< "$1"
|
||||||
version="${args[1]}"
|
version="${args[1]}"
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
ansible-test units --color -v --docker default --python "${version}" --coverage ${CHANGED:+"$CHANGED"} \
|
ansible-test units --color -v --docker default --python "${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
|
||||||
|
|
Loading…
Reference in a new issue