Skip to content

Commit 2bcdc2c

Browse files
committed
do not test templates
1 parent 857f290 commit 2bcdc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudbuild/presubmit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ initialize_git_repo() {
4949
determine_tests_to_run() {
5050
# Infer the files that changed
5151
mapfile -t DELETED_BUILD_FILES < <(git diff origin/master --name-only --diff-filter=D | grep BUILD)
52-
mapfile -t CHANGED_FILES < <(git diff origin/master --name-only)
52+
mapfile -t CHANGED_FILES < <(git diff origin/master --name-only | grep -v template)
5353
echo "Deleted BUILD files: ${DELETED_BUILD_FILES[*]}"
5454
echo "Changed files: ${CHANGED_FILES[*]}"
5555

0 commit comments

Comments
 (0)