Skip to content

Commit 67255c4

Browse files
committed
Switch CI to install dev dependencies via uv dependency group
1 parent c9e1432 commit 67255c4

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/python.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build and Test
22

3-
on: [push, pull_request]
3+
on: [ push, pull_request ]
44

55
jobs:
66
build:
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version: ["3.10", "3.11", "3.12"]
29+
python-version: [ "3.10", "3.11", "3.12" ]
3030

3131
steps:
3232
- uses: actions/checkout@v6
@@ -38,10 +38,11 @@ jobs:
3838
uses: actions/setup-python@v6
3939
with:
4040
python-version: ${{ matrix.python-version }}
41+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.10.1
4142
- name: Install dependencies
4243
run: |
43-
python -m pip install --upgrade pip
44-
pip install -r requirements_dev.txt dist/*.whl
44+
uv sync --group dev --no-install-project
45+
uv pip install dist/*.whl
4546
- name: Test with pytest
4647
run: |
4748
pytest tests

requirements_dev.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)