9
9
10
10
strategy :
11
11
matrix :
12
- python : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12 "]
13
- django : ["3 .2", "4 .0", "4.1", "4.2", "5.0 "]
12
+ python : ["3.9 ", "3.10 ", "3.11 ", "3.12 ", "3.13 "]
13
+ django : ["4 .2", "5 .0", "5.1 "]
14
14
exclude :
15
- - python : " 3.11"
16
- django : " 3.2"
17
- - python : " 3.12"
18
- django : " 3.2"
19
- - python : " 3.11"
20
- django : " 4.0"
21
- - python : " 3.12"
22
- django : " 4.0"
23
- - python : " 3.8"
15
+ - python : " 3.9"
24
16
django : " 5.0"
25
17
- python : " 3.9"
18
+ django : " 5.1"
19
+ - python : " 3.13"
20
+ django : " 4.2"
21
+ - python : " 3.13"
26
22
django : " 5.0"
27
23
database_url :
28
24
- postgres://runner:password@localhost/project
@@ -45,19 +41,19 @@ jobs:
45
41
steps :
46
42
- name : Start MySQL
47
43
run : sudo systemctl start mysql.service
48
- - uses : actions/checkout@v2
44
+ - uses : actions/checkout@v4
49
45
- name : Install system Python build deps for psycopg2
50
- run : sudo apt-get install python3-dev python3.11-dev
46
+ run : sudo apt-get install python3-dev
51
47
- name : Set up Python ${{ matrix.python }}
52
- uses : actions/setup-python@v2
48
+ uses : actions/setup-python@v5
53
49
with :
54
- python-version : ${{ matrix.python }}
50
+ python-version : ${{ matrix.python }}.*
55
51
- name : Upgraded pip
56
52
run : pip install --upgrade pip
57
53
- name : Install dependencies
58
54
run : pip install -r test-requirements.txt
59
55
- name : Install Django
60
- run : pip install -U django== ${{ matrix.django }}
56
+ run : pip install -U django~= ${{ matrix.django }}.0
61
57
- name : Run tests
62
58
run : python manage.py test
63
59
- name : Run black
0 commit comments