1212 strategy :
1313 fail-fast : false
1414 matrix :
15- python-version : ["3.11", "3. 12", "3.13", "3.14"]
16- # macos-13 is an intel runner, macos-14 is an arm64 runner
17- platform : [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-13 , macos-14]
15+ python-version : ["3.12", "3.13", "3.14"]
16+ # macos-15-large is an intel runner, macos-14 is an arm64 runner
17+ platform : [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-15-large , macos-14]
1818
1919 defaults :
2020 run :
3838 run : conda install -y c-compiler cxx-compiler
3939
4040 - name : Install clang
41- if : matrix.platform == 'macos-13 '
41+ if : matrix.platform == 'macos-15-large '
4242 run : conda install -y 'clang>=12.0.1,<17'
4343
4444 - name : Show conda environment info
@@ -49,12 +49,11 @@ jobs:
4949
5050 - name : Install numcodecs
5151 run : |
52- export DISABLE_NUMCODECS_AVX2=""
5352 # TODO: Remove this conditional when pcodec supports Python 3.14
5453 if [[ "${{ matrix.python-version }}" == "3.14" ]]; then
55- python -m pip install -v -e .[test,test_extras,msgpack,google_crc32c,crc32c,zfpy]
54+ python -m pip install -v " .[test,test_extras,msgpack,google_crc32c,crc32c,zfpy]"
5655 else
57- python -m pip install -v -e .[test,test_extras,msgpack,google_crc32c,crc32c,pcodec,zfpy]
56+ python -m pip install -v " .[test,test_extras,msgpack,google_crc32c,crc32c,pcodec,zfpy]"
5857 fi
5958
6059 - name : List installed packages
@@ -70,12 +69,72 @@ jobs:
7069 token : ${{ secrets.CODECOV_TOKEN }}
7170 verbose : true
7271
72+ test-crc32c :
73+ runs-on : ubuntu-latest
74+ strategy :
75+ fail-fast : false
76+ matrix :
77+ include :
78+ - name : google-crc32c
79+ extras : " google_crc32c"
80+ - name : crc32c
81+ extras : " crc32c"
82+ - name : no-crc32c
83+ extras : " "
84+
85+ defaults :
86+ run :
87+ shell : bash -el {0}
88+
89+ steps :
90+ - name : Checkout source
91+ uses : actions/checkout@v5
92+ with :
93+ submodules : recursive
94+ fetch-depth : 0
95+
96+ - name : Set up Conda
97+ uses : conda-incubator/setup-miniconda@v3.2.0
98+ with :
99+ channels : conda-forge
100+ miniforge-version : latest
101+ python-version : " 3.13"
102+
103+ - name : Install compilers
104+ run : conda install -y c-compiler cxx-compiler
105+
106+ - name : Install numcodecs
107+ run : |
108+ if [[ -n "${{ matrix.extras }}" ]]; then
109+ python -m pip install -v ".[${{ matrix.extras }},test]"
110+ else
111+ python -m pip install -v ".[test]"
112+ fi
113+
114+ - name : List installed packages
115+ run : python -m pip list
116+
117+ - name : Run checksum tests
118+ run : pytest -v tests/test_checksum32.py
119+
120+ - uses : codecov/codecov-action@v5
121+ with :
122+ fail_ci_if_error : true
123+ token : ${{ secrets.CODECOV_TOKEN }}
124+ verbose : true
125+
73126 test-zarr :
74127 runs-on : ubuntu-latest
75128 strategy :
76129 fail-fast : false
77130 matrix :
78- zarr-version : ["312", "313", "main"]
131+ include :
132+ - zarr-version : " 308"
133+ zarr-pkg : " zarr==3.0.8"
134+ - zarr-version : " 316"
135+ zarr-pkg : " zarr==3.1.6"
136+ - zarr-version : " main"
137+ zarr-pkg : " zarr @ git+https://github.com/zarr-developers/zarr-python.git@main"
79138
80139 defaults :
81140 run :
@@ -88,19 +147,24 @@ jobs:
88147 submodules : recursive
89148 fetch-depth : 0 # required for version resolution
90149
91- - name : Set up Pixi
92- uses : prefix-dev /setup-pixi@v0.9 .0
150+ - name : Set up Conda
151+ uses : conda-incubator /setup-miniconda@v3.2 .0
93152 with :
94- pixi-version : v0.49.0
95- cache : false
153+ channels : conda-forge
154+ miniforge-version : latest
155+ python-version : " 3.13"
156+
157+ - name : Install compilers
158+ run : conda install -y c-compiler cxx-compiler
96159
160+ - name : Install numcodecs and Zarr
161+ run : |
162+ python -m pip install -v ".[test,test_extras]" "${{ matrix.zarr-pkg }}" crc32c
97163 - name : List installed packages
98- shell : " bash -l {0}"
99- run : pixi run ls-deps-${{matrix.zarr-version}}
164+ run : python -m pip list
100165
101- - name : Run tests with Zarr ${{ matrix.zarr-version }}
102- shell : " bash -l {0}"
103- run : pixi run test-zarr-${{ matrix.zarr-version }}
166+ - name : Run Zarr integration tests
167+ run : pytest tests/test_zarr3.py tests/test_zarr3_import.py
104168
105169 - uses : codecov/codecov-action@v5
106170 with :
0 commit comments