Skip to content

Commit b00325e

Browse files
AdamWilldstansby
andauthored
array tests: handle different hexdigests from zlib-ng (#1678) (#1972)
As explained in the issue, zlib-ng produces different hex digests from original zlib. This adjusts the tests slightly to allow for this. Signed-off-by: Adam Williamson <[email protected]> Co-authored-by: David Stansby <[email protected]>
1 parent c969f5c commit b00325e

File tree

2 files changed

+280
-185
lines changed

2 files changed

+280
-185
lines changed

.github/workflows/python-package.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ jobs:
1717
matrix:
1818
python-version: ['3.11', '3.12', '3.13']
1919
numpy_version: ['>=2.1', '==1.24.*']
20+
condadeps: ['']
2021
exclude:
2122
- python-version: '3.12'
2223
numpy_version: '==1.24.*'
2324
- python-version: '3.13'
2425
numpy_version: '==1.24.*'
26+
include:
27+
- python-version: '3.13'
28+
numpy_version: '>=2.1'
29+
# to test alternate hexdigests with zlib-ng
30+
condadeps: 'zlib-ng'
2531
services:
2632
redis:
2733
image: redis
@@ -52,7 +58,7 @@ jobs:
5258
- name: Create Conda environment with the rights deps
5359
shell: "bash -l {0}"
5460
run: |
55-
conda create -n zarr-env python==${{matrix.python-version}} pip nodejs
61+
conda create -n zarr-env python==${{matrix.python-version}} pip nodejs ${{matrix.condadeps}}
5662
conda activate zarr-env
5763
npm install -g azurite
5864
- name: Install dependencies

0 commit comments

Comments
 (0)