Skip to content

Commit

Permalink
BLD: fix failing CI test runs on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed May 8, 2024
1 parent 6d83510 commit 4ef2b66
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [ubuntu-latest]
include:
- os: macos-latest
python-version: 3.8
python-version: "3.10"
- os: macos-latest
python-version: 3.12
- os: windows-latest
Expand All @@ -33,7 +33,16 @@ jobs:
with:
fetch-depth: 0

- name: Fix macos HDF5 library for pytables install (works for python >= 3.10)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew update
brew install hdf5
- name: Setup xtgeo
env:
# relevant for macos builds only
HDF5_DIR: /opt/homebrew
uses: "./.github/actions/setup_xtgeo"
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit 4ef2b66

Please sign in to comment.