Skip to content

Commit 2ff9a70

Browse files
committed
ci: add tox-uv dependency group to pin tox-uv version
1 parent ce16806 commit 2ff9a70

5 files changed

Lines changed: 184 additions & 85 deletions

File tree

.github/workflows/tox_matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
- name: Run tox
4545
env:
4646
TOXENV: ${{ matrix.tox-environment }}
47-
run: uv run --only-group=tox-uv tox run -e ${{matrix.tox-environment}}
47+
run: uv run --only-group=tox-uv tox run --runner uv-venv-lock-runner -e ${{matrix.tox-environment}}

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ lint = [
3333
{include-group = "type_checking"},
3434
]
3535
tox = ["tox"]
36+
tox-uv = [
37+
{include-group = "tox"},
38+
"tox-uv-bare"
39+
]
3640
test = [
3741
"coverage[toml]",
3842
"pytest",

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ commands = {envbindir}/pytest --basetemp={envtmpdir}/pytest {posargs}
1212

1313
[testenv:docs]
1414
changedir=docs
15-
deps=
16-
sphinx
15+
dependency_groups = docs
1716
commands=
1817
{envbindir}/sphinx-build -d {envtmpdir}/doctrees source {temp_dir}/docs/html -W -b html

0 commit comments

Comments
 (0)