Skip to content

Commit 9c677b5

Browse files
author
Benjamin Moody
committed
.github/workflows: Install soundfile and libsndfile.
"build": pip install will install the Python soundfile package. On Windows/MacOS, this will install a binary wheel package that includes a private copy of libsndfile; on Ubuntu, it will install a generic package that requires us to install libsndfile separately. "test-deb10-i386": python3-soundfile installs the Python soundfile package and also depends on libsndfile1.
1 parent 0932a35 commit 9c677b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip poetry
3030
pip install ".[dev]"
31+
- name: Install libsndfile
32+
if: startsWith(matrix.os, 'ubuntu')
33+
run: |
34+
sudo apt-get install -y libsndfile1
3135
- name: Run tests
3236
run: pytest
3337
- name: Validate poetry file
@@ -48,6 +52,7 @@ jobs:
4852
python3-pandas \
4953
python3-requests \
5054
python3-scipy \
55+
python3-soundfile \
5156
python3-pytest \
5257
git
5358

0 commit comments

Comments
 (0)