From 0b7a78c356b1e28a4ffc7116594f1fc6095ad885 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 17 Apr 2024 10:16:35 +0100
Subject: [PATCH] Better test for macos-14 in GHA
---
.github/workflows/ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5c52a10..36e3459 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,8 +36,9 @@ jobs:
python -m pip install --upgrade pip
- name: Install HDF5 for pytables on macos-14
+ if: ${{ matrix.runs-on == 'macos-14' }}
run: |
- if [[ ${{ matrix.runs-on }} == "macos-14" ]]; then brew install hdf5 ; fi;
+ brew install hdf5
- name: Build package
run: |