Skip to content

Commit 51e4cc3

Browse files
Add workflow to test v2 compat
1 parent 0d75e00 commit 51e4cc3

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: zarr v2 compatibility
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main, test]
7+
8+
jobs:
9+
test:
10+
name: zarr v2 / Python 3.11 / ubuntu
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: astral-sh/setup-uv@v5
16+
17+
- name: Install with zarr v2
18+
run: |
19+
echo "zarr<3" > zarr-override.txt
20+
uv sync --python 3.11 --group test --override zarr-override.txt
21+
22+
- name: Run tests
23+
run: uv run pytest

0 commit comments

Comments
 (0)