Skip to content

Commit f6d957e

Browse files
committed
Add test-minimal group
1 parent ca8647a commit f6d957e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
cache: 'pip'
5353
- name: Install Hatch
5454
run: |
55-
python -m pip install --upgrade pip
55+
python -m pip install --upgrade pip
5656
pip install hatch
5757
- name: Set Up Hatch Env
5858
run: |
@@ -84,7 +84,7 @@ jobs:
8484
cache: 'pip'
8585
- name: Install Hatch
8686
run: |
87-
python -m pip install --upgrade pip
87+
python -m pip install --upgrade pip
8888
pip install hatch
8989
- name: Set Up Hatch Env
9090
run: |
@@ -111,4 +111,4 @@ jobs:
111111
contains(needs.*.result, 'cancelled')
112112
run: exit 1
113113
- name: Success
114-
run: echo Success!
114+
run: echo Success!

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ gpu = [
6868
universal-pathlib = [
6969
'universal-pathlib>=0.0.22'
7070
]
71+
tree = [
72+
'rich',
73+
]
7174
# Development extras
75+
test-minimal = ["zarr[universal-pathlib, tree]"]
7276
test = [
7377
"coverage",
7478
"pytest",
@@ -94,6 +98,7 @@ docs = [
9498
'msgpack',
9599
]
96100

101+
97102
[project.urls]
98103
"Bug Tracker" = "https://github.com/zarr-developers/zarr-python/issues"
99104
Changelog = "https://zarr.readthedocs.io/en/stable/release.html"
@@ -133,7 +138,7 @@ version = ["minimal"]
133138
[[tool.hatch.envs.test.matrix]]
134139
python = ["3.11", "3.12", "3.13"]
135140
numpy = ["1.25", "2.1"]
136-
features = ["optional"]
141+
features = ["test-minimal"]
137142

138143
[[tool.hatch.envs.test.matrix]]
139144
python = ["3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)