Skip to content

Commit

Permalink
Fix path in pytest
Browse files Browse the repository at this point in the history
Signed-off-by: Xinyuan Li <[email protected]>
  • Loading branch information
Xinyuan Li committed Jan 31, 2024
1 parent 6f14860 commit 12c3a8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-icefall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ jobs:
pip install pytest-cov
pip install kaldiio
pip install tensorflow
cd egs/fluent_speech_commands/SLU
cd egs/fluent_speech_commands/SLU/transducer
wget -O epoch-6.pt https://www.dropbox.com/scl/fi/97wvdjmbuyj13kpzhricc/epoch-6.pt?rlkey=7mehc4v41fovfz0ksbt98krry&dl=0
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1K-CaHTtJ-zZ5oW0us0OaKQmsD2-cO0xN' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1K-CaHTtJ-zZ5oW0us0OaKQmsD2-cO0xN" -O frames.zip && rm -rf /tmp/cookies.txt1K-CaHTtJ-zZ5oW0us0OaKQmsD2-cO0xN
unzip frames.zip
- name: Test Action
run: |
cd icefall/icefall
cd icefall
export PYTHONPATH=$PYTHONPATH:$(pwd)
cd ../egs/fluent_speech_commands/SLU
cd egs/fluent_speech_commands/SLU/transducer
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
Expand Down

0 comments on commit 12c3a8e

Please sign in to comment.