Skip to content

Commit

Permalink
array tests: handle different hexdigests from zlib-ng (zarr-developer…
Browse files Browse the repository at this point in the history
…s#1678)

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 <awilliam@redhat.com>
  • Loading branch information
AdamWill committed Oct 18, 2024
1 parent ed94877 commit 71d01ae
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 185 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:
matrix:
python-version: ['3.11', '3.12', '3.13']
numpy_version: ['>=2.1', '==1.24.*']
condadeps: ['pip nodejs']
exclude:
- python-version: '3.12'
numpy_version: '==1.24.*'
- python-version: '3.13'
numpy_version: '==1.24.*'
include:
- python-version: '3.13'
numpy_version: '>=2.1'
# to test alternate hexdigests with zlib-ng
condadeps: ['pip nodejs zlib-ng']
services:
redis:
image: redis
Expand Down Expand Up @@ -52,7 +58,7 @@ jobs:
- name: Create Conda environment with the rights deps
shell: "bash -l {0}"
run: |
conda create -n zarr-env python==${{matrix.python-version}} pip nodejs
conda create -n zarr-env python==${{matrix.python-version}} ${{matrix.condadeps}}
conda activate zarr-env
npm install -g azurite
- name: Install dependencies
Expand Down
Loading

0 comments on commit 71d01ae

Please sign in to comment.