Skip to content

Commit d8000b0

Browse files
committed
Use uvx for CI tox jobs
1 parent 9de2068 commit d8000b0

2 files changed

Lines changed: 5 additions & 20 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ jobs:
3333
python-version: ${{ matrix.python }}
3434
enable-cache: true
3535

36-
- name: Sync dependencies
37-
id: sync-dependencies
38-
run: uv sync --locked
39-
4036
- name: Test with tox
4137
id: test-with-tox
42-
run: uv run tox -e ${{ matrix.toxenv }}
38+
run: uvx --with tox-gh-actions tox -e ${{ matrix.toxenv }}
4339

4440
test-sqlite-main:
4541
if: github.base_ref == 'main'
@@ -60,13 +56,9 @@ jobs:
6056
python-version: ${{ matrix.python }}
6157
enable-cache: true
6258

63-
- name: Sync dependencies
64-
id: sync-dependencies
65-
run: uv sync --locked
66-
6759
- name: Test with tox
6860
id: test-with-tox
69-
run: uv run tox
61+
run: uvx --with tox-gh-actions tox
7062
env:
7163
DATABASE: ${{ matrix.database }}
7264

@@ -100,13 +92,9 @@ jobs:
10092
python-version: ${{ matrix.python }}
10193
enable-cache: true
10294

103-
- name: Sync dependencies
104-
id: sync-dependencies
105-
run: uv sync --locked
106-
10795
- name: Test with tox
10896
id: test-with-tox
109-
run: uv run tox
97+
run: uvx --with tox-gh-actions tox
11098
env:
11199
DB_NAME: postgres
112100
DB_USER: postgres
@@ -148,13 +136,9 @@ jobs:
148136
python-version: ${{ matrix.python }}
149137
enable-cache: true
150138

151-
- name: Sync dependencies
152-
id: sync-dependencies
153-
run: uv sync --locked
154-
155139
- name: Test with tox
156140
id: test-with-tox
157-
run: uv run tox
141+
run: uvx --with tox-gh-actions tox
158142
env:
159143
DB_NAME: mysql
160144
DB_USER: root

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
## Unreleased
66

77
- Add Wagtail 7.3 testing coverage and Django 6.0 coverage for that compatibility line
8+
- Run CI tox jobs via `uvx` so Python 3.10 and 3.11 jobs do not require the Python 3.12+ dev environment
89
- Document the `release` branch workflow and require merge requests to target `release`
910
- Require agents to create a new branch from `release` before making repo-tracked changes
1011
- Add agent instructions to keep pull request titles and summaries current and update the changelog on every PR

0 commit comments

Comments
 (0)