diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index deeebf5..462de53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,3 +132,25 @@ jobs: # We just run the CLI tests here because it doesn't require other upstream # packages like sgkit (which are tangled up with the numpy 2 dependency) python -m pytest tests/test_cli.py + + test-zarr-version: + name: Test Zarr versions + runs-on: ubuntu-latest + strategy: + matrix: + zarr: ["==2.18.3", "3.0.0b1"] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install '.[dev]' + - name: Install zarr${{ matrix.zarr }} + run: | + python -m pip install --pre 'zarr${{ matrix.zarr }}' + - name: Run tests + run: | + python -m pytest