From 6c357b2b5a7a75f2f1d1c3ef065deba84b6e901e Mon Sep 17 00:00:00 2001 From: DPE bot Date: Tue, 25 Sep 2018 07:51:47 -0700 Subject: [PATCH] Update the kokoro config (#313) --- .kokoro/samples-test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.kokoro/samples-test.sh b/.kokoro/samples-test.sh index 76edbbbb2..a91cbf5a6 100755 --- a/.kokoro/samples-test.sh +++ b/.kokoro/samples-test.sh @@ -24,6 +24,11 @@ export GCLOUD_PROJECT=long-door-651 cd $(dirname $0)/.. +# Run a pre-test hook, if a pre-samples-test.sh is in the project +if [ -f .kokoro/pre-samples-test.sh ]; then + . .kokoro/pre-samples-test.sh +fi + npm install # Install and link samples