Skip to content

Commit

Permalink
CI: Fix h5py installation on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 16, 2022
1 parent 39a10f9 commit de5fdb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:
sudo apt-get install --yes build-essential pkg-config libhdf5-dev
fi
if [ "$RUNNER_OS" == "macOS" ]; then
# https://github.com/h5py/h5py/issues/1800#issuecomment-1124193511
HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5
export HDF5_DIR="$(brew --prefix hdf5)";
poetry run pip install --no-binary=h5py h5py
fi
- name: Install project
Expand Down

0 comments on commit de5fdb9

Please sign in to comment.