From 10034efe816f5118b5d2c866a53404be4a5bbacf Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Mon, 14 Dec 2020 09:08:55 -0500 Subject: [PATCH] Install hdf5 for Python 3.9 tests --- .github/workflows/test.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1e9450a9..fb8d21a48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,9 @@ jobs: - 3.7 - 3.8 - 3.9 + exclude: + - os: windows-2019 + python: 3.9 steps: - name: Set up environment @@ -36,10 +39,20 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python }} + + - name: Install hdf5 (Ubuntu) + if: matrix.python == '3.9' && startsWith(matrix.os, 'ubuntu') + run: sudo apt-get update && sudo apt-get install -y libhdf5-dev + + - name: Install hdf5 (macOS) + if: matrix.python == '3.9' && startsWith(matrix.os, 'macos') + run: brew install hdf5 + - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip wheel pip install ".[test]" + - name: Set environment variable when using Python 3.6 to cover more code run: echo DANDI_LOG_GIRDER=1 >> "$GITHUB_ENV" if: matrix.python == '3.6'