Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12409f2

Browse files
committed
Don't use DIFF_FROM for first check.
1 parent 0e77f3f commit 12409f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.kokoro/tests/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ DIFF_FROM=""
2424

2525
# `--only-diff-master will only run tests on project changes on the last common commit from the master branch.
2626
if [[ $* == *--only-diff-master* ]]; then
27-
git diff --quiet "$DIFF_FROM" .kokoro/tests .kokoro/docker
27+
git diff --quiet "origin/master..." .kokoro/tests .kokoro/docker
2828
CHANGED=$?
2929
if [[ "$CHANGED" -eq 0 ]]; then
3030
DIFF_FROM="origin/master..."

0 commit comments

Comments
 (0)