From 3b725c724a084a56c830cda4566891e7d2e5784a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 14 Oct 2021 20:27:32 +0800 Subject: [PATCH] Minor fixes. --- .github/workflows/run-pretrained.yml | 3 ++- .github/workflows/test.yml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-pretrained.yml b/.github/workflows/run-pretrained.yml index 6e37ae342..40bdf0198 100644 --- a/.github/workflows/run-pretrained.yml +++ b/.github/workflows/run-pretrained.yml @@ -72,9 +72,10 @@ jobs: cd tmp git lfs install git clone https://huggingface.co/pkufool/icefall_asr_librispeech_conformer_ctc + cd .. tree tmp soxi tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/*.flac - ls -lh icefall_asr_librispeech_conformer_ctc/*/* + ls -lh tmp/icefall_asr_librispeech_conformer_ctc/*/* - name: Run CTC decoding shell: bash diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 150b5258a..42fab043b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,7 @@ on: push: branches: - master + - test-pretrained pull_request: types: [labeled] @@ -84,3 +85,8 @@ jobs: echo "lib_path: $lib_path" export DYLD_LIBRARY_PATH=$lib_path:$DYLD_LIBRARY_PATH pytest ./test + + # runt tests for conformer ctc + cd egs/librispeech/ASR/conformer_ctc + pytest +