There was an error while loading. Please reload this page.
1 parent 3de895e commit 0b0ae20Copy full SHA for 0b0ae20
1 file changed
.github/workflows/pytest.yml
@@ -26,18 +26,23 @@ jobs:
26
uses: astral-sh/setup-uv@v9.0.0
27
with:
28
enable-cache: true
29
- python-version: ${{ matrix.python-version }}
+
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
34
35
- name: Run test suite
- run: uv run --extra annlibs --group tests pytest -v --color=yes
36
+ run: hatch test -py ${{ matrix.python-version }} -v --color=yes
37
38
types:
39
runs-on: ubuntu-latest
40
steps:
41
- *clone
42
- *uv
43
+ - *hatch
44
- name: Type check
- run: uvx hatch check types
45
+ run: hatch check types
46
47
build:
48
0 commit comments