Skip to content

Commit 6835f31

Browse files
authored
chore: skip aliasshim for all env (googleapis#11755)
Previously this was only being applied to earliest builds. This is a followup to googleapis#11635.
1 parent 86f428a commit 6835f31

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

internal/kokoro/continuous.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ try3 go mod download
9797
# runDirectoryTests runs all tests in the current directory.
9898
# If a PATH argument is specified, it runs `go test [PATH]`.
9999
runDirectoryTests() {
100+
if [[ $PWD == *"/aliasshim" ]]; then
101+
# aliasshim: build constraints exclude all Go files
102+
return
103+
fi
100104
if { [[ $PWD == *"/internal/"* ]] ||
101-
[[ $PWD == *"/third_party/"* ]] ||
102-
[[ $PWD == *"/aliasshim" ]]; } &&
105+
[[ $PWD == *"/third_party/"* ]]; } &&
103106
[[ $KOKORO_JOB_NAME == *"earliest"* ]]; then
104-
# aliasshim: build constraints exclude all Go files
105107
# internal tools only expected to work with latest go version
106108
return
107109
fi

0 commit comments

Comments
 (0)