From 2849c82c7b517ed0cf0209f01a106cfcf12038fe Mon Sep 17 00:00:00 2001 From: Shubhdildeep Singh Sohal Date: Fri, 9 Jan 2026 09:32:03 -0500 Subject: [PATCH 1/4] Updating MATLAB release field for tests --- .github/workflows/test_setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_setup.yml b/.github/workflows/test_setup.yml index 0071851..6755b16 100644 --- a/.github/workflows/test_setup.yml +++ b/.github/workflows/test_setup.yml @@ -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 From 8245877fd25d610741bd0c5b27026d27972992ed Mon Sep 17 00:00:00 2001 From: Shubhdildeep Singh Sohal Date: Fri, 9 Jan 2026 10:14:58 -0500 Subject: [PATCH 2/4] Update Python and 3p package versions for testing --- .github/workflows/test_setup.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_setup.yml b/.github/workflows/test_setup.yml index 6755b16..3be1961 100644 --- a/.github/workflows/test_setup.yml +++ b/.github/workflows/test_setup.yml @@ -11,7 +11,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-14] - matlab-version: ['R2024a','latest'] + matlab-version: ['R2024a', 'latest'] + python-version: ['3.10', '3.x'] steps: - name: Checkout code @@ -25,12 +26,19 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11.9' + python-version: ${{ matrix.python-version }} - - name: Install additional 3p dependencies + - name: Install deps (oldest supported for Python 3.10) + if: matrix.python-version == '3.10' run: | python -m pip install --upgrade pip - pip install numpy==1.26.4 tensorstore==0.1.73 + pip install "numpy==1.26.4" "tensorstore==0.1.73" + + - name: Install deps (latest for latest Python) + if: matrix.python-version == '3.x' + run: | + python -m pip install --upgrade pip + pip install numpy tensorstore - name: Run tests uses: matlab-actions/run-tests@v2 From a9c4ca4aa1f8abae970411a7aec9b84413814235 Mon Sep 17 00:00:00 2001 From: Shubhdildeep Singh Sohal Date: Fri, 9 Jan 2026 10:28:48 -0500 Subject: [PATCH 3/4] Update Python and 3p package versions for testing --- .github/workflows/test_setup.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_setup.yml b/.github/workflows/test_setup.yml index 3be1961..24cf69d 100644 --- a/.github/workflows/test_setup.yml +++ b/.github/workflows/test_setup.yml @@ -12,7 +12,6 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-14] matlab-version: ['R2024a', 'latest'] - python-version: ['3.10', '3.x'] steps: - name: Checkout code @@ -23,19 +22,26 @@ jobs: with: release: ${{matrix.matlab-version}} - - name: Set up Python + - name: Set up Python 3.10 + if: matrix.matlab-version == 'R2024a' uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: '3.10' + + - 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 Python 3.10) - if: matrix.python-version == '3.10' + if: matrix.matlab-version == 'R2024a' run: | python -m pip install --upgrade pip - pip install "numpy==1.26.4" "tensorstore==0.1.73" + pip install "numpy==1.26.4" "tensorstore==0.1.71" - name: Install deps (latest for latest Python) - if: matrix.python-version == '3.x' + if: matrix.matlab-version == 'latest' run: | python -m pip install --upgrade pip pip install numpy tensorstore From aa2cb125d052b747d08221820b6ce9cbdad1516a Mon Sep 17 00:00:00 2001 From: Shubhdildeep Singh Sohal Date: Fri, 9 Jan 2026 13:08:31 -0500 Subject: [PATCH 4/4] Updated comments --- .github/workflows/test_setup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_setup.yml b/.github/workflows/test_setup.yml index 24cf69d..78623fc 100644 --- a/.github/workflows/test_setup.yml +++ b/.github/workflows/test_setup.yml @@ -22,7 +22,7 @@ jobs: with: release: ${{matrix.matlab-version}} - - name: Set up Python 3.10 + - name: Set up Python 3.10 (oldest supported for Zarr) if: matrix.matlab-version == 'R2024a' uses: actions/setup-python@v5 with: @@ -34,7 +34,7 @@ jobs: with: python-version: '3.x' - - name: Install deps (oldest supported for Python 3.10) + - name: Install deps (oldest supported for Zarr) if: matrix.matlab-version == 'R2024a' run: | python -m pip install --upgrade pip