Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ jobs:
- name: Install Python dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
python -m pip install .[audio,whisper-local,whisper-api]
python -m pip install .[dev,audio,whisper-local,whisper-api]
- name: Install Python dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
python -m pip install .[whisper-local,whisper-api]
python -m pip install .[dev,whisper-local,whisper-api]
- name: Test with unittest
run: |
python -m doctest speech_recognition/recognizers/google.py -v
python -m unittest discover --verbose
pytest --doctest-modules -v speech_recognition/recognizers/ tests/
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ universal=1
dev =
flake8
rstcheck
pytest
pytest-randomly
audio =
PyAudio >= 0.2.11
whisper-local =
Expand Down