@@ -68,19 +68,18 @@ jobs:
6868 - name : Install uv
6969 uses : astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
7070 - name : Install Hatch
71- run : python -m pip install hatch==1.16.5
71+ run : python -m pip install hatch==1.16.5 rust-just==1.58.0
7272 - name : Set Up Hatch Env
7373 env :
7474 HATCH_ENV : test.py${{ matrix.python-version }}-${{ matrix.dependency-set }}
7575 run : |
76- hatch env create "$HATCH_ENV"
77- hatch env run -e "$HATCH_ENV" list-env
76+ just setup
7877 - name : Run Tests
7978 env :
8079 HYPOTHESIS_PROFILE : ci
8180 HATCH_ENV : test.py${{ matrix.python-version }}-${{ matrix.dependency-set }}
8281 run : |
83- hatch env run --env "$HATCH_ENV" run- coverage
82+ just coverage
8483 - name : Upload coverage
8584 if : ${{ matrix.dependency-set == 'optional' && matrix.os == 'ubuntu-latest' }}
8685 uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
@@ -117,18 +116,17 @@ jobs:
117116 - name : Install uv
118117 uses : astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
119118 - name : Install Hatch
120- run : python -m pip install hatch==1.16.5
119+ run : python -m pip install hatch==1.16.5 rust-just==1.58.0
121120 - name : Set Up Hatch Env
122121 env :
123122 HATCH_ENV : ${{ matrix.dependency-set }}
124123 run : |
125- hatch env create "$HATCH_ENV"
126- hatch env run -e "$HATCH_ENV" list-env
124+ just setup
127125 - name : Run Tests
128126 env :
129127 HATCH_ENV : ${{ matrix.dependency-set }}
130128 run : |
131- hatch env run --env "$HATCH_ENV" run- coverage
129+ just coverage
132130 - name : Upload coverage
133131 uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
134132 with :
@@ -152,13 +150,13 @@ jobs:
152150 - name : Install uv
153151 uses : astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
154152 - name : Install Hatch
155- run : python -m pip install hatch==1.16.5
153+ run : python -m pip install hatch==1.16.5 rust-just==1.58.0
156154 - name : Set Up Hatch Env
157155 run : |
158- hatch run doctest:pip list
156+ HATCH_ENV= doctest just setup
159157 - name : Run Tests
160158 run : |
161- hatch run doctest:test
159+ just doctest
162160
163161 benchmarks :
164162 name : Benchmark smoke test
@@ -176,12 +174,12 @@ jobs:
176174 - name : Install uv
177175 uses : astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
178176 - name : Install Hatch
179- run : python -m pip install hatch==1.16.5
177+ run : python -m pip install hatch==1.16.5 rust-just==1.58.0
180178 - name : Run Benchmarks
181179 env :
182180 ZARR_BENCHMARK_CLEAR_CACHE : ' 1'
183181 run : |
184- hatch env run --env " test.py3.13-minimal" run- benchmark
182+ HATCH_ENV= test.py3.13-minimal just benchmark
185183
186184 test-complete :
187185 name : Test complete
0 commit comments