This repository was archived by the owner on Jul 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ cd $(dirname $0)/..
2323npm install
2424
2525# Install and link samples
26- cd samples/
27- npm link ../
28- npm install
29- cd ..
26+ if [ -f samples/package.json ]; then
27+ cd samples/
28+ npm link ../
29+ npm install
30+ cd ..
31+ fi
3032
3133npm run lint
Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ if [ -f .kokoro/pre-samples-test.sh ]; then
3131 set -x
3232fi
3333
34- npm install
34+ if [ -f samples/package.json ]; then
35+ npm install
3536
36- # Install and link samples
37- cd samples/
38- npm link ../
39- npm install
40- cd ..
37+ # Install and link samples
38+ cd samples/
39+ npm link ../
40+ npm install
41+ cd ..
4142
42- npm run samples-test
43+ npm run samples-test
44+ fi
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ cd $(dirname $0)/..
2222
2323npm install
2424npm test
25- ./node_modules/nyc/bin/nyc.js report
2625
27- bash $KOKORO_GFILE_DIR /codecov.sh
26+ COVERAGE_NODE=10
27+ if npx check-node-version@3.3.0 --silent --node $COVERAGE_NODE ; then
28+ NYC_BIN=./node_modules/nyc/bin/nyc.js
29+ if [ -f " $NYC_BIN " ]; then
30+ $NYC_BIN report
31+ fi
32+ bash $KOKORO_GFILE_DIR /codecov.sh
33+ else
34+ echo " coverage is only reported for Node $COVERAGE_NODE "
35+ fi
Original file line number Diff line number Diff line change 33 "google.cloud.datalabeling.v1beta1.DataLabelingService" : {
44 "retry_codes" : {
55 "idempotent" : [
6- " DEADLINE_EXCEEDED" ,
76 " UNAVAILABLE"
87 ],
98 "non_idempotent" : []
Original file line number Diff line number Diff line change 11{
2- "updateTime": "2019-04-23T11:10:31.879122Z ",
2+ "updateTime": "2019-05-08T11:56:42.569328Z ",
33 "sources": [
44 {
55 "generator": {
66 "name": "artman",
7- "version": "0.17 .0",
8- "dockerImage": "googleapis/artman@sha256:c58f4ec3838eb4e0718eb1bccc6512bd6850feaa85a360a9e38f6f848ec73bc2 "
7+ "version": "0.19 .0",
8+ "dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e "
99 }
1010 },
1111 {
1212 "git": {
1313 "name": "googleapis",
1414 "remote": "https://github.com/googleapis/googleapis.git",
15- "sha": "547e19e7df398e9290e8e3674d7351efc500f9b0 ",
16- "internalRef": "244712781 "
15+ "sha": "51145ff7812d2bb44c1219d0b76dac92a8bd94b2 ",
16+ "internalRef": "247143125 "
1717 }
1818 },
1919 {
2020 "template": {
2121 "name": "node_library",
2222 "origin": "synthtool.gcp",
23- "version": "2019.4.10 "
23+ "version": "2019.5.2 "
2424 }
2525 }
2626 ],
You can’t perform that action at this time.
0 commit comments