Skip to content

Commit

Permalink
(chore): add zarr v2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Jan 20, 2025
1 parent eb5dc85 commit 3ac48cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ variables:
PYTEST_ADDOPTS: --color=yes --junitxml=test-data/test-results.xml
DEPENDENCIES_VERSION: "latest" # |"pre-release" | "minimum-version"
TEST_TYPE: "standard" # | "coverage"
ZARR_VERSION: "3"

jobs:
- job: PyTest
Expand All @@ -28,6 +29,10 @@ jobs:
python.version: "3.10"
DEPENDENCIES_VERSION: "minimum"
TEST_TYPE: "coverage"
zarr_v2:
python.version: "3.12"
ZARR_VERSION: "2"

steps:
- task: UsePythonVersion@0
inputs:
Expand All @@ -49,6 +54,10 @@ jobs:
path: $(uv_cache_dir)
displayName: Cache pip packages

- script: echo "zarr < 3" >> ci/constraints.txt
displayName: "Install zarr v2"
condition: eq(variables['ZARR_VERSION'], '2')

- script: uv pip install --system --compile "anndata[dev,test] @ ." -c ci/constraints.txt
displayName: "Install dependencies"
condition: eq(variables['DEPENDENCIES_VERSION'], 'latest')
Expand Down

0 comments on commit 3ac48cb

Please sign in to comment.