Skip to content

Commit

Permalink
chore: run CI on Node.js 12, fix GCS file location (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Sep 1, 2020
1 parent 49c165f commit 62e8035
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
6 changes: 4 additions & 2 deletions packages/google-cloud-node/system-test/speech_system_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ describe('SpeechClient system test default', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand All @@ -54,8 +55,9 @@ describe('SpeechClient system test default', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ describe('SpeechClient system test v1', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand All @@ -54,8 +55,9 @@ describe('SpeechClient system test v1', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ describe('SpeechClient system test v1p1beta1', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand All @@ -54,8 +55,9 @@ describe('SpeechClient system test v1p1beta1', () => {
languageCode: languageCode,
sampleRateHertz: sampleRateHertz,
encoding: encoding,
audioChannelCount: 2,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri: uri,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ describe('SpeechClient TypeScript system test default', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand All @@ -54,12 +56,14 @@ describe('SpeechClient TypeScript system test default', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ describe('SpeechClient TypeScript system test v1', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand All @@ -54,12 +56,14 @@ describe('SpeechClient TypeScript system test v1', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ describe('SpeechClient TypeScript system test v1p1beta1', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand All @@ -54,12 +56,14 @@ describe('SpeechClient TypeScript system test v1p1beta1', () => {
const sampleRateHertz = 44100;
const encoding =
google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding.FLAC;
const audioChannelCount = 2;
const config = {
languageCode,
sampleRateHertz,
encoding,
audioChannelCount,
};
const uri = 'gs://gapic-toolkit/hello.flac';
const uri = 'gs://cloud-samples-data/speech/hello.flac';
const audio = {
uri,
};
Expand Down

0 comments on commit 62e8035

Please sign in to comment.