Return exit 0 in case of cron (#7871)

This commit is contained in:
Maurizio Vitale
2022-09-30 15:58:46 +02:00
committed by GitHub
parent 1156a9f9b8
commit 5dac8cbe2e
2 changed files with 5 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ if [ ${AFFECTED_LIB} == true ]; then
echo "Affected e2e ${AFFECTED_E2E}"
fi;
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
echo "CRON running everything "
fi;
if [[ $AFFECTED_LIBS =~ "testing" || $AFFECTED_LIBS =~ "$BASE_DIRECTORY" || "${TRAVIS_EVENT_TYPE}" == "push" || "${TRAVIS_EVENT_TYPE}" == "api" || "${TRAVIS_EVENT_TYPE}" == "cron" ]]; then
echo "Run all e2e $FOLDER"
./scripts/test-e2e-lib.sh --use-dist