Skip to content

Commit d92d7b2

Browse files
authored
Test against zarr main (#800)
1 parent cc005a4 commit d92d7b2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
zarr-version: ["312", "313"]
73+
zarr-version: ["312", "313", "main"]
7474

7575
defaults:
7676
run:

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ test-zarr-313 = [
7777
"zarr==3.1.3",
7878
"crc32c",
7979
]
80+
test-zarr-main = [
81+
"pytest",
82+
"pytest-cov",
83+
"zarr @ git+https://github.com/zarr-developers/zarr-python.git@main",
84+
"crc32c",
85+
]
8086

8187
msgpack = [
8288
"msgpack",
@@ -240,7 +246,8 @@ conflicts = [
240246
# Zarr versions conflict with each other
241247
[
242248
{ group = "test-zarr-312" },
243-
{ group = "test-zarr-313" }
249+
{ group = "test-zarr-313" },
250+
{ group = "test-zarr-main" }
244251
]
245252
]
246253

@@ -257,5 +264,7 @@ uv = "*"
257264
[tool.pixi.tasks]
258265
ls-deps-312 = "uv run --group test-zarr-312 uv pip freeze"
259266
ls-deps-313 = "uv run --group test-zarr-313 uv pip freeze"
267+
ls-deps-main = "uv run --group test-zarr-main uv pip freeze"
260268
test-zarr-312 = "uv run --group test-zarr-312 pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"
261269
test-zarr-313 = "uv run --group test-zarr-313 pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"
270+
test-zarr-main = "uv run --group test-zarr-main pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"

0 commit comments

Comments
 (0)