99
1010 strategy :
1111 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 "]
1414 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"
2416 django : " 5.0"
2517 - python : " 3.9"
18+ django : " 5.1"
19+ - python : " 3.13"
20+ django : " 4.2"
21+ - python : " 3.13"
2622 django : " 5.0"
2723 database_url :
2824 - postgres://runner:password@localhost/project
@@ -45,19 +41,19 @@ jobs:
4541 steps :
4642 - name : Start MySQL
4743 run : sudo systemctl start mysql.service
48- - uses : actions/checkout@v2
44+ - uses : actions/checkout@v4
4945 - 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
5147 - name : Set up Python ${{ matrix.python }}
52- uses : actions/setup-python@v2
48+ uses : actions/setup-python@v5
5349 with :
54- python-version : ${{ matrix.python }}
50+ python-version : ${{ matrix.python }}.*
5551 - name : Upgraded pip
5652 run : pip install --upgrade pip
5753 - name : Install dependencies
5854 run : pip install -r test-requirements.txt
5955 - name : Install Django
60- run : pip install -U django== ${{ matrix.django }}
56+ run : pip install -U django~= ${{ matrix.django }}.0
6157 - name : Run tests
6258 run : python manage.py test
6359 - name : Run black
0 commit comments