Skip to content

Commit

Permalink
node: add a pretest hook on system test (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored Sep 4, 2018
1 parent f9dd7f6 commit ed5d91d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synthtool/gcp/templates/node_library/.kokoro/system-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json

cd $(dirname $0)/..

# Run a pre-test hook, if a pre-system-test.sh is in the project
if [ -f .kokoro/pre-system-test.sh ]; then
. .kokoro/pre-system-test.sh
fi

npm install

npm run system-test

0 comments on commit ed5d91d

Please sign in to comment.