From 4ef2b6670995535a56bc9dfa1b4f8b63cb062767 Mon Sep 17 00:00:00 2001 From: "Jan C. Rivenaes" Date: Wed, 8 May 2024 10:07:36 +0200 Subject: [PATCH] BLD: fix failing CI test runs on macos --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ee36454a..1598e395e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 }}