diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 988fdd43..920a8b93 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,15 @@ jobs: # env: # ACTIONS_ALLOW_UNSECURE_COMMANDS: true # run: ... + - if: matrix.os == 'macos-latest' + name: Set up MacOS variables + run: | + # for some reason this seems to be a necessary step for MacOS images, but not for Ubuntu and Windows + brew install hdf5 + brew install c-blosc + # + echo "HDF5_DIR=/opt/homebrew/opt/hdf5" >> $GITHUB_ENV + echo "BLOSC_DIR=/opt/homebrew/opt/c-blosc" >> $GITHUB_ENV - if: ${{ (matrix.os == 'ubuntu-latest') || (matrix.os == 'macos-latest') }} name: Unit tests and coverage (ubuntu-latest, macos-latest) run: |