Skip to content

Commit

Permalink
Merge pull request #774 from ftnext/install-pyaudio-github-actions
Browse files Browse the repository at this point in the history
Install PyAudio in unittest Action
  • Loading branch information
ftnext authored Oct 21, 2024
2 parents b0c91ae + e8991f3 commit 35cf8ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libpulse-dev libasound2-dev
sudo apt-get install --no-install-recommends -y portaudio19-dev
- name: Install ffmpeg (for Whisper)
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Install Python dependencies (Ubuntu only)
if: matrix.os == 'ubuntu-latest'
run: |
python -m pip install 'pocketsphinx<5'
- name: Install Python dependencies
- name: Install Python dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
python -m pip install .[audio,whisper-local,whisper-api]
- name: Install Python dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
python -m pip install .[whisper-local,whisper-api]
- name: Test with unittest
Expand Down

0 comments on commit 35cf8ac

Please sign in to comment.