Skip to content

Commit d611f9b

Browse files
committed
Use uv for CI as well
1 parent 8ea27a1 commit d611f9b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/confidence.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
2426
- name: Install dependencies
2527
run: |
26-
python -m pip install --upgrade pip
27-
pip install -e ".[dev]"
28-
pip install tox tox-gh-actions
28+
uv pip install --system -e ".[dev]"
29+
uv pip install --system tox tox-gh-actions
2930
- name: Test with tox
3031
run: tox

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dev = [
3131
"black>=23.1.0",
3232
"flake8>=6.0.0",
3333
"tox>=4.0.0",
34+
"tox-uv>=1.0.0",
3435
"pytest>=7.0.0",
3536
"pytest-cov>=4.0.0",
3637
"coverage>=7.0.0",

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
22
envlist = py39, py310, py311, py312, py39-min
33
isolated_build = True
4+
requires = tox-uv
45

56
[gh-actions]
67
python =

0 commit comments

Comments
 (0)