From d76a81d000b2ac4370e7bbc4d7bb4123a6bdf084 Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Mon, 29 Apr 2024 11:08:01 +0100 Subject: [PATCH] naive attempt at fixing HDF5 --- .github/workflows/test_and_deploy.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 8bf3d215..3a0de86e 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -36,12 +36,14 @@ jobs: # Run tests on ubuntu across all supported versions python-version: ["3.9", "3.10"] os: [ubuntu-latest] - # Include at least one MacOS and Windows test + # Include a Windows test and old/new Mac runs include: - - os: macos-latest - python-version: "3.10" - - os: windows-latest - python-version: "3.10" + - os: macos-13 + python-version: "3.10" + - os: macos-latest + python-version: "3.10" + - os: windows-latest + python-version: "3.10" steps: # Cache the tensorflow model so we don't have to remake it every time - name: Cache tensorflow model @@ -49,7 +51,12 @@ jobs: with: path: "~/.cellfinder" key: models-${{ hashFiles('~/.cellfinder/**') }} - + # install additional Macos dependencies + - name: install HDF5 libraries + if: matrix.os == 'macos-latest' + run: | + brew install hdf5 + export PATH="/usr/local/opt/hdf5/bin:$PATH" # Run tests - uses: neuroinformatics-unit/actions/test@v2 with: