Skip to content

Commit 90ce877

Browse files
committed
feat: match django-cms core test matrix
1 parent 8eb0431 commit 90ce877

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/codecov.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,34 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # latest release minus two
19+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] # latest release minus two
2020
requirements-file: [
2121
dj42_cms311.txt,
2222
dj42_cms41.txt,
2323
dj50_cms41.txt,
2424
dj51_cms41.txt,
2525
dj52_cms50.txt,
26+
dj60_cms50.txt,
2627
]
2728
os: [
2829
ubuntu-latest,
2930
]
3031
exclude:
31-
- python-version: "3.9"
32+
# Python 3.14 only works with Django 5.2+
33+
- python-version: "3.14"
34+
requirements-file: dj42_cms311.txt
35+
- python-version: "3.14"
36+
requirements-file: dj42_cms41.txt
37+
- python-version: "3.14"
3238
requirements-file: dj50_cms41.txt
33-
- python-version: "3.9"
39+
- python-version: "3.14"
3440
requirements-file: dj51_cms41.txt
35-
- python-version: "3.9"
36-
requirements-file: dj52_cms50.txt
41+
# Python 3.10 and 3.11 only supported until Django 5.2
3742
- python-version: "3.10"
38-
requirements-file: dj52_cms50.txt
43+
requirements-file: dj60_cms50.txt
44+
- python-version: "3.11"
45+
requirements-file: dj60_cms50.txt
46+
# Python 3.12 and 3.13 don't support Django 4.2 with CMS 3.11
3947
- python-version: "3.12"
4048
requirements-file: dj42_cms311.txt
4149
- python-version: "3.13"
@@ -50,10 +58,12 @@ jobs:
5058
uses: actions/setup-python@v6
5159
with:
5260
python-version: ${{ matrix.python-version }}
61+
cache: 'pip'
5362
- name: Install dependencies
5463
run: |
5564
sudo apt install libcairo2-dev pkg-config python3-dev
56-
pip install -U -r tests/requirements/${{ matrix.requirements-file }}
65+
python -m pip install --upgrade pip uv
66+
uv pip install --system -r tests/requirements/${{ matrix.requirements-file }}
5767
- name: Run coverage
5868
run: |
5969
coverage run -m pytest

0 commit comments

Comments
 (0)