diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 988fdd43..20707e3d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,11 @@ jobs: # env: # ACTIONS_ALLOW_UNSECURE_COMMANDS: true # run: ... + - if: matrix.os == 'macos-latest' + name: Set up MacOS variables + run: | + 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: |