Skip to content

Commit 75e5657

Browse files
committed
fix TEST_ALL_PACKAGES override
1 parent c85a266 commit 75e5657

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

ci/run_conditional_tests.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ for subdir in ${subdirs[@]}; do
113113
d="$d/"
114114
fi
115115
should_test=false
116-
if [ -n "${GIT_DIFF_ARG}" ]; then
116+
117+
# Override check: Force test if explicitly asked to test all packages
118+
if [[ "${TEST_ALL_PACKAGES}" == "true" ]]; then
119+
echo "TEST_ALL_PACKAGES is true, forcing execution for ${d}"
120+
should_test=true
121+
elif [ -n "${GIT_DIFF_ARG}" ]; then
117122
echo "checking changes with 'git diff --quiet ${GIT_DIFF_ARG} ${d}'"
118123
set +e
119124
git diff --quiet ${GIT_DIFF_ARG} ${d}
@@ -145,4 +150,4 @@ for subdir in ${subdirs[@]}; do
145150
done
146151
done
147152

148-
exit ${RETVAL}
153+
exit ${RETVAL}

0 commit comments

Comments
 (0)