Skip to content

Commit

Permalink
Add tests for Zarr v2 and v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Oct 23, 2024
1 parent 4dd205e commit a0fedac
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0fedac

Please sign in to comment.