Skip to content

Commit 3c65596

Browse files
committed
ci: Add Python 3.12 to test matrix and streamline tox.ini
This commit updates the project's continuous integration and local testing configurations to include Python 3.12. Key changes include: - **GitHub Actions (`.github/workflows/test.yml`):** - Added Python 3.12 to the test matrix. - Reordered Django versions in the test matrix for consistency. - **Tox configuration (`tox.ini`):** - Simplified the test environment definitions to use a matrix-style approach (`d{52, 42}-py{313, 312, 311}`). This change aligns the local testing environments with the updated Python and Django versions supported in the CI workflow, making the configuration more concise and maintainable.
1 parent 748cdca commit 3c65596

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
django: [ "52", "42"]
44-
python: [ "3.13", "3.11" ]
43+
django: [ "42", "52"]
44+
python: [ "3.11", "3.12", "3.13" ]
4545

4646
env:
4747
CELERY_BROKER_URL: redis://redis:6379/0

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ env_list =
88
docs
99
d{52, 42, 32}-type
1010
pkg_meta
11-
d{42}-py{311}
12-
d{52}-py{313}
11+
d{52, 42}-py{313, 312, 311}
1312
skip_missing_interpreters = true
1413

1514
[testenv]

0 commit comments

Comments
 (0)