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
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install --with dev
run: uv sync --locked --dev
- name: Static type checking
run: poetry run mypy .
run: uv run mypy .
if: runner.os != 'Windows'
- name: Run test
run: poetry run pytest
run: uv run pytest
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.PHONY=publish
publish:
poetry build
poetry publish
uv build
uv publish

.PHONY=test
test:
poetry run mypy .
poetry run pytest
uv run mypy .
uv run pytest

.PHONY=clean
clean:
Expand Down
Loading
Loading