Skip to content

Commit 4989fdd

Browse files
authored
Merge pull request #319 from maxmind/greg/eng-4265
Use uv-venv-lock-runner to respect uv.lock in tox
2 parents 92cecff + ee8d4a6 commit 4989fdd

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/test-libmaxminddb.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@ jobs:
6060
env:
6161
CFLAGS: "${{ env.CFLAGS }} -Werror -Wall -Wextra"
6262

63-
- name: Setup test suite
64-
run: tox run -vv --notest --skip-missing-interpreters false
65-
env:
66-
TOX_GH_MAJOR_MINOR: ${{ matrix.env }}
67-
6863
- name: Run test suite
69-
run: tox run --skip-pkg-install
64+
run: tox run --skip-missing-interpreters false
7065
env:
7166
TOX_GH_MAJOR_MINOR: ${{ matrix.env }}

.github/workflows/test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,8 @@ jobs:
2929
- name: Install Python
3030
if: matrix.env != '3.14'
3131
run: uv python install --python-preference only-managed ${{ matrix.env }}
32-
- name: Setup test suite
33-
run: tox run -vv --notest --skip-missing-interpreters false
34-
env:
35-
MAXMINDDB_REQUIRE_EXTENSION: 1
36-
TOX_GH_MAJOR_MINOR: ${{ matrix.env }}
3732
- name: Run test suite
38-
run: tox run --skip-pkg-install
33+
run: tox run --skip-missing-interpreters false
3934
env:
4035
MAXMINDDB_REQUIRE_EXTENSION: 1
4136
MM_FORCE_EXT_TESTS: 1

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ env_list = [
110110
skip_missing_interpreters = false
111111

112112
[tool.tox.env_run_base]
113+
runner = "uv-venv-lock-runner"
113114
dependency_groups = [
114115
"dev",
115116
]

0 commit comments

Comments
 (0)