pinning numpy<2 in tests

This commit is contained in:
Jong Wook Kim 2024-09-10 10:23:36 -07:00
parent 32d55d5d76
commit 79233a9313

View File

@ -52,5 +52,5 @@ jobs:
- run: pip3 install torch==${{ matrix.pytorch-version }}+cpu --index-url https://download.pytorch.org/whl/cpu
- uses: actions/checkout@v3
- run: echo "$CONDA/envs/test/bin" >> $GITHUB_PATH
- run: pip install .["dev"]
- run: pip install .["dev"] 'numpy<2'
- run: pytest --durations=0 -vv -k 'not test_transcribe or test_transcribe[tiny] or test_transcribe[tiny.en]' -m 'not requires_cuda'