-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3585 from lissyx/github-actions-py-node-tests
Fix #3578: Re-instate Python TF/TFLite tests on GitHub Actions / macOS
- Loading branch information
Showing
22 changed files
with
441 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
source $(dirname "$0")/all-vars.sh | ||
source $(dirname "$0")/all-utils.sh | ||
source $(dirname "$0")/asserts.sh | ||
|
||
bitrate=$1 | ||
set_ldc_sample_filename "${bitrate}" | ||
|
||
download_data | ||
|
||
node --version | ||
npm --version | ||
|
||
symlink_electron | ||
|
||
export_node_bin_path | ||
|
||
which electron | ||
which node | ||
|
||
node --version | ||
|
||
deepspeech --version | ||
|
||
check_runtime_electronjs | ||
|
||
run_electronjs_inference_tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
source $(dirname "$0")/all-vars.sh | ||
source $(dirname "$0")/all-utils.sh | ||
source $(dirname "$0")/asserts.sh | ||
|
||
bitrate=$1 | ||
set_ldc_sample_filename "${bitrate}" | ||
|
||
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite} | ||
model_name=$(basename "${model_source}") | ||
model_name_mmap=$(basename "${model_source}") | ||
|
||
download_data | ||
|
||
node --version | ||
npm --version | ||
|
||
symlink_electron | ||
|
||
export_node_bin_path | ||
|
||
which electron | ||
which node | ||
|
||
node --version | ||
|
||
deepspeech --version | ||
|
||
check_runtime_electronjs | ||
|
||
run_electronjs_inference_tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
source $(dirname "$0")/all-vars.sh | ||
source $(dirname "$0")/all-utils.sh | ||
source $(dirname "$0")/asserts.sh | ||
|
||
bitrate=$1 | ||
set_ldc_sample_filename "${bitrate}" | ||
|
||
model_source=${DEEPSPEECH_PROD_MODEL} | ||
model_name=$(basename "${model_source}") | ||
|
||
model_source_mmap=${DEEPSPEECH_PROD_MODEL_MMAP} | ||
model_name_mmap=$(basename "${model_source_mmap}") | ||
|
||
download_model_prod | ||
|
||
download_data | ||
|
||
node --version | ||
npm --version | ||
|
||
export_node_bin_path | ||
|
||
check_runtime_nodejs | ||
|
||
run_prod_inference_tests "${bitrate}" | ||
|
||
run_js_streaming_prod_inference_tests "${bitrate}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
source $(dirname "$0")/all-vars.sh | ||
source $(dirname "$0")/all-utils.sh | ||
source $(dirname "$0")/asserts.sh | ||
|
||
bitrate=$1 | ||
set_ldc_sample_filename "${bitrate}" | ||
|
||
download_data | ||
|
||
node --version | ||
npm --version | ||
|
||
export_node_bin_path | ||
|
||
check_runtime_nodejs | ||
|
||
run_all_inference_tests | ||
|
||
run_js_streaming_inference_tests | ||
|
||
run_hotword_tests |
Oops, something went wrong.