mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
add CI
This commit is contained in:
parent
c9055e03e3
commit
b90c7646be
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
|||||||
pip install --no-binary protobuf protobuf==3.20.*
|
pip install --no-binary protobuf protobuf==3.20.*
|
||||||
|
|
||||||
pip install kaldifst
|
pip install kaldifst
|
||||||
pip install onnxruntime
|
pip install onnxruntime matplotlib
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Install graphviz
|
- name: Install graphviz
|
||||||
@ -129,6 +129,9 @@ jobs:
|
|||||||
cd ../transducer_lstm
|
cd ../transducer_lstm
|
||||||
pytest -v -s
|
pytest -v -s
|
||||||
|
|
||||||
|
cd ../zipformer
|
||||||
|
pytest -v -s
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: startsWith(matrix.os, 'macos')
|
if: startsWith(matrix.os, 'macos')
|
||||||
run: |
|
run: |
|
||||||
@ -166,3 +169,11 @@ jobs:
|
|||||||
|
|
||||||
cd ../transducer_lstm
|
cd ../transducer_lstm
|
||||||
pytest -v -s
|
pytest -v -s
|
||||||
|
|
||||||
|
cd ../zipformer
|
||||||
|
pytest -v -s
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: egs/librispeech/ASR/zipformer/swoosh.pdf
|
||||||
|
name: swoosh.pdf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user