mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Fix coverage stub generation in CI.
This commit is contained in:
parent
8fe9eb7b92
commit
9546761407
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function cleanup
|
||||||
{
|
{
|
||||||
if find test/results/coverage/ -mindepth 1 -name '.*' -prune -o -print -quit | grep -q .; then
|
if find test/results/coverage/ -mindepth 1 -name '.*' -prune -o -print -quit | grep -q .; then
|
||||||
# for complete on-demand coverage generate a report for all files with no coverage on the "other" job so we only have one copy
|
# for complete on-demand coverage generate a report for all files with no coverage on the "other" job so we only have one copy
|
||||||
if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ] && [ "${test}" == "other" ]; then
|
if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ] && [ "${test}" == "sanity/1" ]; then
|
||||||
stub="--stub"
|
stub="--stub"
|
||||||
else
|
else
|
||||||
stub=""
|
stub=""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue