Skip to content

Commit 093d013

Browse files
committed
Use uv in tests CI
1 parent 72dab1c commit 093d013

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python }}
2929

30-
- name: Install Poetry
31-
run: pipx install poetry
30+
- name: Install uv
31+
uses: astral-sh/setup-uv@v7
3232

33-
- name: Validate pyproject.toml and poetry.lock
34-
run: poetry check
33+
- name: Validate pyproject.toml and uv.lock
34+
run: uv lock --locked --offline --no-cache --check
3535

3636
- name: Install dependencies
37-
run: poetry install --extras=dev
37+
run: uv sync --locked --all-groups
3838

3939
- name: Run format and lint
4040
run: |
41-
poetry run ruff format --check --diff .
42-
poetry run ruff check --diff .
41+
uv run ruff format --check --diff .
42+
uv run ruff check --diff .
4343
4444
- name: Run Tests
45-
run: poetry run pytest
45+
run: uv run pytest

0 commit comments

Comments
 (0)