Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .kokoro/.mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reporter: xunit
Comment thread
ace-n marked this conversation as resolved.
reporter-option:
- output=./all-tests.xml
5 changes: 5 additions & 0 deletions .kokoro/build-with-appengine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ set -e;

export GCLOUD_PROJECT=nodejs-docs-samples-tests

# Activate mocha config
pushd github/nodejs-docs-samples
mv .kokoro/.mocharc.yml .
popd

# Update gcloud
gcloud components update --quiet

Expand Down
5 changes: 5 additions & 0 deletions .kokoro/build-with-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@

set -eo pipefail

# Activate mocha config
pushd github/nodejs-docs-samples
mv .kokoro/.mocharc.yml .
popd

export GOOGLE_CLOUD_PROJECT=nodejs-docs-samples-tests
pushd github/nodejs-docs-samples/${PROJECT}

Expand Down
5 changes: 5 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ export NODEJS_IOT_RSA_PUBLIC_CERT=${KOKORO_GFILE_DIR}/rsa_cert.pem
export BOT_ACCESS_TOKEN=${KOKORO_GFILE_DIR}/secrets-slack-bot-access-token.txt
export CHANNEL=${KOKORO_GFILE_DIR}/secrets-slack-channel-id.txt

# Activate mocha config
pushd github/nodejs-docs-samples
mv .kokoro/.mocharc.yml .
popd

cd github/nodejs-docs-samples/${PROJECT}

# Install dependencies
Expand Down