Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,16 @@ jobs:
with:
enable-cache: true

- &hatch
name: Install Hatch
# https://github.com/pypa/hatch/pull/2351
run: uv tool install git+https://github.com/pypa/hatch.git@af5339a1a5bb8e6d4b659c4c1bfff8e7e37cdaff

- name: Run test suite
run: hatch test -py ${{ matrix.python-version }} -v --color=yes
run: uvx hatch test -py ${{ matrix.python-version }} -v --color=yes

types:
runs-on: ubuntu-latest
steps:
- *clone
- *uv
- *hatch
- name: Type check
run: hatch check types
run: uvx hatch check types

build:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ build:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
# https://github.com/pypa/hatch/pull/2351
- UV_TOOL_BIN_DIR=$HOME/.asdf/bin uv tool install git+https://github.com/pypa/hatch.git@af5339a1a5bb8e6d4b659c4c1bfff8e7e37cdaff
build:
html:
- hatch run docs:build
- uvx hatch run docs:build
- mv docs/_build $READTHEDOCS_OUTPUT