-
-
Notifications
You must be signed in to change notification settings - Fork 286
41 lines (38 loc) · 1.14 KB
/
minimal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This workflow simulates the environment found during a conda-forge build
# and makes sure that Zarr can run without fsspec and other additional libraries.
name: Minimal installation
on:
push:
branches: [ support/v2 ]
pull_request:
branches: [ support/v2 ]
jobs:
minimum_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Miniconda
uses: conda-incubator/[email protected]
with:
channels: conda-forge
environment-file: environment.yml
activate-environment: minimal
- name: Tests
shell: "bash -l {0}"
env:
ZARR_V3_EXPERIMENTAL_API: 1
ZARR_V3_SHARDING: 1
run: |
conda activate minimal
python -m pip install .
pytest -svx --timeout=300
- name: Fixture generation
shell: "bash -l {0}"
env:
ZARR_V3_EXPERIMENTAL_API: 1
ZARR_V3_SHARDING: 1
run: |
conda activate minimal
rm -rf fixture/
pytest -svx --timeout=300 zarr/tests/test_dim_separator.py zarr/tests/test_storage.py
# This simulates fixture-less tests in conda and debian packaging