Skip to content

Commit 0b0ae20

Browse files
committed
fix CI
1 parent 3de895e commit 0b0ae20

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,23 @@ jobs:
2626
uses: astral-sh/setup-uv@v9.0.0
2727
with:
2828
enable-cache: true
29-
python-version: ${{ matrix.python-version }}
29+
30+
- &hatch
31+
name: Install Hatch
32+
# https://github.com/pypa/hatch/pull/2351
33+
run: uv tool install git+https://github.com/pypa/hatch.git@af5339a1a5bb8e6d4b659c4c1bfff8e7e37cdaff
3034

3135
- name: Run test suite
32-
run: uv run --extra annlibs --group tests pytest -v --color=yes
36+
run: hatch test -py ${{ matrix.python-version }} -v --color=yes
3337

3438
types:
3539
runs-on: ubuntu-latest
3640
steps:
3741
- *clone
3842
- *uv
43+
- *hatch
3944
- name: Type check
40-
run: uvx hatch check types
45+
run: hatch check types
4146

4247
build:
4348
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)