Skip to content

Commit e1a8fb5

Browse files
committed
Restore split; run h5 tests on macOS for Python >= 3.10
1 parent bd89a2a commit e1a8fb5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test-with-pip.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,15 @@ jobs:
2020
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
23-
- name: Install dependencies and local packages
23+
- name: Install dependencies and local packages (not macOS)
2424
run: python -m pip install .[gui,h5,preferences]
25+
if: matrix.os != 'macos-latest' || ${{ matrix.python-version }} >= '3.10'
26+
- name: Install dependencies and local packages (macOS)
27+
run: python -m pip install .[gui,preferences]
28+
# PyTables won't build on Apple Silicon for Python >= 3.10, so exclude
29+
# the h5 dep
30+
# xref: enthought/apptools/issues/344
31+
if: matrix.os == 'macos-latest' && ${{ matrix.python-version }} < '3.10'
2532
- name: Run tests
2633
run: |
2734
mkdir testdir

0 commit comments

Comments
 (0)