Skip to content

Commit

Permalink
Fix tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovcmedeiros committed Nov 14, 2023
1 parent c87fbe3 commit 68308fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
uses: actions/checkout@v3

#----------------------------------------------
# Install PortAudio
# Install Audio Gear
#----------------------------------------------
- name: Install PortAudio
- name: Install PortAudio and PulseAudio
run: |
apt-get update
apt-get --assume-yes install portaudio19-dev python-all-dev
apt-get --assume-yes install portaudio19-dev python-all-dev pulseaudio
#----------------------------------------------
# --- configure poetry & install project ----
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ def mock_sound_from_bytes_io(self: LiveAssistant, bytes_io):
)

mocker.patch("webrtcvad.Vad.is_speech", return_value=False)
mocker.patch("pygame.mixer.init")

0 comments on commit 68308fc

Please sign in to comment.