Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions .github/workflows/test_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
matlab-version: ['R2024a']
matlab-version: ['R2024a', 'latest']

steps:
- name: Checkout code
Expand All @@ -22,15 +22,29 @@ jobs:
with:
release: ${{matrix.matlab-version}}

- name: Set up Python
- name: Set up Python 3.10 (oldest supported for Zarr)
if: matrix.matlab-version == 'R2024a'
uses: actions/setup-python@v5
with:
python-version: '3.11.9'
python-version: '3.10'

- name: Install additional 3p dependencies
- name: Set up latest available Python (for latest MATLAB)
if: matrix.matlab-version == 'latest'
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install deps (oldest supported for Zarr)
if: matrix.matlab-version == 'R2024a'
run: |
python -m pip install --upgrade pip
pip install "numpy==1.26.4" "tensorstore==0.1.71"

- name: Install deps (latest for latest Python)
if: matrix.matlab-version == 'latest'
run: |
python -m pip install --upgrade pip
pip install numpy==1.26.4 tensorstore==0.1.73
pip install numpy tensorstore

- name: Run tests
uses: matlab-actions/run-tests@v2
Expand Down