Skip to content

Commit

Permalink
install system-level dependencies on Linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Jun 8, 2024
1 parent c35d3b7 commit b86622e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install system-level dependencies (Unix)
run: |
platform="$(uname)"
if [[ "${platform}" == "Linux" ]]; then
apt-get -y install --no-install-recommends libhdf5
elif [[ "${platform}" == "Darwin" ]]; then
brew install hdf5
fi
if: ${{ matrix.os != 'windows-latest' }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --requirement requirements.in
Expand Down

0 comments on commit b86622e

Please sign in to comment.