Add separate job to CI for notebook tests

This commit is contained in:
Josh Meyer 2021-09-16 03:19:09 -04:00
parent 90d4e43c58
commit c78f98a7bc

View File

@ -670,6 +670,22 @@ jobs:
bitrate: ${{ matrix.bitrate }}
model-kind: ${{ matrix.models }}
timeout-minutes: 5
python-notebooks-tests:
name: "Lin|Python notebook tests"
runs-on: ubuntu-20.04
if: ${{ github.event_name == 'pull_request' }}
strategy:
matrix:
pyver: [3.6, 3.7]
steps:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.pyver }}
- name: Run python notebooks
run: |
sudo apt-get install -y --no-install-recommends libopusfile0 libopus-dev libopusfile-dev
python -m pip install jupyter
./ci_scripts/notebook-tests.sh
training-basic-tests:
name: "Lin|Basic training tests"
runs-on: ubuntu-20.04
@ -695,11 +711,6 @@ jobs:
mv convert_graphdef_memmapped_format /tmp
- run: |
mkdir -p ${CI_ARTIFACTS_DIR} || true
- name: Run python notebooks
run: |
sudo apt-get install -y --no-install-recommends libopusfile0 libopus-dev libopusfile-dev
python -m pip install jupyter
./ci_scripts/notebook-tests.sh
- name: Run basic training tests
run: |
python -m pip install coqui_stt_ctcdecoder-*.whl