Skip to content

Commit

Permalink
Install hdf5 for Python 3.9 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Dec 14, 2020
1 parent 8afaaaf commit 10034ef
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- 3.7
- 3.8
- 3.9
exclude:
- os: windows-2019
python: 3.9

steps:
- name: Set up environment
Expand All @@ -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'
Expand Down

0 comments on commit 10034ef

Please sign in to comment.