diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 234bd46..07e20d7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -24,6 +24,14 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - name: Install libsndfile if necessary + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + apt install libsndfile1 + elif [ "$RUNNER_OS" == "macOS" ]; then + brew install libsndfile + fi + shell: bash - name: Install pyebur128 run: | python -m pip install --upgrade pip