Skip to content

Commit 25fc3d8

Browse files
committed
Test with latest dependencies
1 parent b5154fb commit 25fc3d8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/latest-deps.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow simulates a fresh environment where the only install
2+
# command is a user pip installing zarr
3+
name: Latest dependencies
4+
5+
on:
6+
push:
7+
branches: [ support/v2 ]
8+
pull_request:
9+
branches: [ support/v2 ]
10+
11+
jobs:
12+
minimum_build:
13+
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Setup Miniconda
18+
uses: conda-incubator/[email protected]
19+
with:
20+
auto-update-conda: true
21+
python-version: "3.12"
22+
- name: Tests
23+
shell: bash -el {0}
24+
env:
25+
ZARR_V3_EXPERIMENTAL_API: 1
26+
ZARR_V3_SHARDING: 1
27+
run: |
28+
python -m pip install pytest pytest-cov
29+
python -m pip install .
30+
31+
pytest -svx --timeout=300

0 commit comments

Comments
 (0)