Skip to content

Commit 1229951

Browse files
authored
CLOUDP-227744: Run Cloud Tests on push (#1364)
1 parent 73acb4f commit 1229951

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cloud-tests-filter.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ jobs:
5252
run: |
5353
# Evaluate whether or not cloud tests should run
5454
RUN_CLOUD_TESTS='false'
55+
# push events run all tests when code was changed
56+
if [ "${EVENT}" == "push" ] && [ "${CODE_CHANGED}" == "true" ];then
57+
RUN_CLOUD_TESTS='true'
5558
# cloud-tests label forces cloud tests to run, BUT only on AKO PRs, not from forked repos
56-
if [ "${CLOUD_TESTS_LABEL}" == "true" ] && [ "${FORKED}" == "false" ];then
59+
elif [ "${CLOUD_TESTS_LABEL}" == "true" ] && [ "${FORKED}" == "false" ];then
5760
RUN_CLOUD_TESTS='true'
5861
# safe-to-test label forces clous tests to run, BUT only when the PR was just "labeled" safe to test
5962
elif [ "${SAFE_TO_TEST_LABEL}" == "true" ] && [ "${ACTION}" == "labeled" ];then

0 commit comments

Comments
 (0)