File tree 7 files changed +25
-14
lines changed
7 files changed +25
-14
lines changed Original file line number Diff line number Diff line change
1
+ reporter : xunit
2
+ reporter-option :
3
+ - output=./sponge_log.xml
Original file line number Diff line number Diff line change @@ -13,11 +13,4 @@ build_file: "nodejs-docs-samples/.kokoro/trampoline.sh"
13
13
env_vars: {
14
14
key: " TRAMPOLINE_BUILD_FILE"
15
15
value: " github/nodejs-docs-samples/.kokoro/build.sh"
16
- }
17
-
18
- # Export XUnit test results for further analysis
19
- action {
20
- define_artifacts {
21
- regex: " **/all-tests.xml"
22
- }
23
16
}
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ set -e;
18
18
19
19
export GCLOUD_PROJECT=nodejs-docs-samples-tests
20
20
21
+ # Activate mocha config
22
+ pushd github/nodejs-docs-samples
23
+ mv .kokoro/.mocharc.yml .
24
+ popd
25
+
21
26
# Update gcloud
22
27
gcloud components update --quiet
23
28
Original file line number Diff line number Diff line change 16
16
17
17
set -eo pipefail
18
18
19
+ # Activate mocha config
20
+ pushd github/nodejs-docs-samples
21
+ mv .kokoro/.mocharc.yml .
22
+ popd
23
+
19
24
export GOOGLE_CLOUD_PROJECT=nodejs-docs-samples-tests
20
25
pushd github/nodejs-docs-samples/${PROJECT}
21
26
Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ export NODEJS_IOT_RSA_PUBLIC_CERT=${KOKORO_GFILE_DIR}/rsa_cert.pem
71
71
export BOT_ACCESS_TOKEN=${KOKORO_GFILE_DIR} /secrets-slack-bot-access-token.txt
72
72
export CHANNEL=${KOKORO_GFILE_DIR} /secrets-slack-channel-id.txt
73
73
74
+ # Activate mocha config
75
+ pushd github/nodejs-docs-samples
76
+ mv .kokoro/.mocharc.yml .
77
+ popd
78
+
74
79
cd github/nodejs-docs-samples/${PROJECT}
75
80
76
81
# Install dependencies
Original file line number Diff line number Diff line change @@ -13,4 +13,11 @@ build_file: "nodejs-docs-samples/.kokoro/trampoline.sh"
13
13
env_vars: {
14
14
key: " TRAMPOLINE_IMAGE"
15
15
value: " gcr.io/cloud-devrel-kokoro-resources/node:8-user"
16
+ }
17
+
18
+ # Export XUnit test results for further analysis
19
+ action {
20
+ define_artifacts {
21
+ regex: " **/sponge_log.xml"
22
+ }
16
23
}
Original file line number Diff line number Diff line change @@ -19,11 +19,4 @@ env_vars: {
19
19
env_vars: {
20
20
key: " BASE_URL"
21
21
value: " http://localhost:8080"
22
- }
23
-
24
- # Export XUnit test results for further analysis
25
- action {
26
- define_artifacts {
27
- regex: " **/all-tests.xml"
28
- }
29
22
}
You can’t perform that action at this time.
0 commit comments