From 9d68199322752dd62fb9800850b5f70c14acbefa Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 17 Dec 2021 20:51:50 +0800 Subject: [PATCH] Fix tests. --- .github/workflows/test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c73e562da..baa9c1727 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,8 +103,10 @@ jobs: cd egs/librispeech/ASR/conformer_ctc pytest -v -s - cd ../transducer - pytest -v -s + if [[ ${{ matrix.torchaudio }} == "0.10.0" ]]; then + cd ../transducer + pytest -v -s + fi - name: Run tests if: startsWith(matrix.os, 'macos') @@ -120,5 +122,7 @@ jobs: cd egs/librispeech/ASR/conformer_ctc pytest -v -s - cd ../transducer - pytest -v -s + if [[ ${{ matrix.torchaudio }} == "0.10.0" ]]; then + cd ../transducer + pytest -v -s + fi