File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Modify this file with whitespace in a PR in order to run all tests for the PR.
2
+ # See "testing/run_test_suite.sh" for more details.
Original file line number Diff line number Diff line change @@ -64,11 +64,9 @@ FAILED_FLAKY_FILE=${TMP_REPORT_DIR}/failed_flaky
64
64
# (will be empty if running from "master").
65
65
FILES_CHANGED=$( git diff --name-only HEAD $( git merge-base HEAD master) )
66
66
67
- # If any files outside the sample directories changed, or if we are not
68
- # on a Pull Request, run the whole test suite.
69
- if grep -q ^testing\/ <<< " $FILES_CHANGED" || \
70
- grep -v ^.kokoro\/ secrets.sh.enc$ <<< " $FILES_CHANGED" | grep -q ^.kokoro\/ || \
71
- grep -qv \/ <<< " $FILES_CHANGED" || \
67
+ # If the file RUN_ALL_TESTS is modified, or if we were not triggered from a Pull
68
+ # Request, run the whole test suite.
69
+ if grep -q ^testing\/ RUN_ALL_TESTS$ <<< " $FILES_CHANGED" || \
72
70
[ -z " $IS_PULL_REQUEST " ]; then
73
71
RUN_ALL_TESTS=1
74
72
else
You can’t perform that action at this time.
0 commit comments