Skip to content

Commit ce7f100

Browse files
Update publish.yml to match the test matrix in main.yml
1 parent d6d3e0e commit ce7f100

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,30 @@ jobs:
88
test:
99
runs-on: ubuntu-latest
1010
strategy:
11+
max-parallel: 4
1112
matrix:
1213
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
django-version: ['3.2', '4.2', '5.0', '5.1', '6.0']
15+
exclude:
16+
# Django 5.0+ requires Python 3.10+
17+
- python-version: '3.9'
18+
django-version: '5.0'
19+
- python-version: '3.9'
20+
django-version: '5.1'
21+
- python-version: '3.9'
22+
django-version: '6.0'
23+
# Django 6.0+ requires Python 3.12+
24+
- python-version: '3.10'
25+
django-version: '6.0'
26+
- python-version: '3.11'
27+
django-version: '6.0'
28+
# Python 3.13 only supported by Django 5.1+
29+
- python-version: '3.13'
30+
django-version: '3.2'
31+
- python-version: '3.13'
32+
django-version: '4.2'
33+
- python-version: '3.13'
34+
django-version: '5.0'
1335

1436
steps:
1537
- uses: actions/checkout@v4
@@ -20,7 +42,9 @@ jobs:
2042
- name: Set up Python ${{ matrix.python-version }}
2143
run: uv python install ${{ matrix.python-version }}
2244
- name: Install Dependencies
23-
run: uv sync --extra dev
45+
run: |
46+
uv sync --extra dev
47+
uv pip install "Django~=${{ matrix.django-version }}.0"
2448
- name: Run Tests
2549
run: uv run pytest --cov .
2650

0 commit comments

Comments
 (0)