From 6f1486040cb3fdfd1dbec567cfbc38a01a87f1b4 Mon Sep 17 00:00:00 2001 From: Xinyuan Li Date: Wed, 31 Jan 2024 13:10:08 -0500 Subject: [PATCH] Fix path in pytest Signed-off-by: Xinyuan Li --- .github/workflows/ci-icefall.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-icefall.yml b/.github/workflows/ci-icefall.yml index 47157a5e00..5f33f4e4e4 100644 --- a/.github/workflows/ci-icefall.yml +++ b/.github/workflows/ci-icefall.yml @@ -76,9 +76,9 @@ jobs: unzip frames.zip - name: Test Action run: | - cd icefall - export PYTHONPATH=$PYTHONPATH:$(pwd)/icefall - cd egs/fluent_speech_commands/SLU + cd icefall/icefall + export PYTHONPATH=$PYTHONPATH:$(pwd) + cd ../egs/fluent_speech_commands/SLU export PYTHONPATH=$PYTHONPATH:$(pwd) pytest --cov-report=xml --cov=art --cov-append -q -vv ../../../../tests/estimators/speech_recognition/test_pytorch_icefall.py --framework=pytorch --durations=0 - name: Upload coverage to Codecov