From f9e1689888169b7d41466c91db90962bc50cf847 Mon Sep 17 00:00:00 2001 From: jodhus <80434370+jodhus@users.noreply.github.com> Date: Thu, 25 Mar 2021 10:50:40 -0400 Subject: [PATCH] Install libsndfile for tests in Linux/macOS --- .github/workflows/run-tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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