6
6
jobs :
7
7
test :
8
8
name : Test
9
- runs-on : ubuntu-20.04
9
+ runs-on : ubuntu-latest
10
10
11
11
strategy :
12
12
matrix :
13
- python-version : ["3.6", "3.7", "3.8", "3.9"]
14
- django-version : ["2.2", "3.0", "3.1", "3.2", "4.0"]
15
- exclude :
16
- # Python 3.6 is not supported beyond Django 3.2
17
- - python-version : " 3.6"
18
- django-version : " 4.0"
19
- # Python 3.7 is not supported beyond Django 3.2
20
- - python-version : " 3.7"
21
- django-version : " 4.0"
13
+ python-version : ["3.8", "3.9", "3.10", "3.11"]
14
+ django-version : ["3.2", "4.0", "4.1"]
22
15
23
16
steps :
24
17
- name : Checkout
25
18
uses : actions/checkout@v3
26
19
27
20
- name : Set up Poetry
28
- # Need to use version < 1.2.0 in order to support Python 3.6
29
- run : pipx install poetry==1.1.15
21
+ run : pipx install poetry==1.3.2
30
22
31
23
- name : Set up Python ${{ matrix.python-version }}
32
24
uses : actions/setup-python@v4
@@ -44,24 +36,19 @@ jobs:
44
36
45
37
lint :
46
38
name : Lint
47
- runs-on : ubuntu-20.04
39
+ runs-on : ubuntu-latest
48
40
49
41
strategy :
50
42
matrix :
51
- python-version : ["3.6", "3.9"]
52
- django-version : ["2.2", "4.0"]
53
- exclude :
54
- # Python 3.6 is not supported beyond Django 3.2
55
- - python-version : " 3.6"
56
- django-version : " 4.0"
43
+ python-version : ["3.8", "3.11"]
44
+ django-version : ["3.2", "4.1"]
57
45
58
46
steps :
59
47
- name : Checkout
60
48
uses : actions/checkout@v3
61
49
62
50
- name : Set up Poetry
63
- # Need to use version < 1.2.0 in order to support Python 3.6
64
- run : pipx install poetry==1.1.15
51
+ run : pipx install poetry==1.3.2
65
52
66
53
- name : Set up Python ${{ matrix.python-version }}
67
54
uses : actions/setup-python@v4
@@ -79,24 +66,19 @@ jobs:
79
66
80
67
type-check :
81
68
name : Type Check
82
- runs-on : ubuntu-20.04
69
+ runs-on : ubuntu-latest
83
70
84
71
strategy :
85
72
matrix :
86
- python-version : ["3.6", "3.9"]
87
- django-version : ["2.2", "4.0"]
88
- exclude :
89
- # Python 3.6 is not supported beyond Django 3.2
90
- - python-version : " 3.6"
91
- django-version : " 4.0"
73
+ python-version : ["3.8", "3.11"]
74
+ django-version : ["3.2", "4.1"]
92
75
93
76
steps :
94
77
- name : Checkout
95
78
uses : actions/checkout@v3
96
79
97
80
- name : Set up Poetry
98
- # Need to use version < 1.2.0 in order to support Python 3.6
99
- run : pipx install poetry==1.1.15
81
+ run : pipx install poetry==1.3.2
100
82
101
83
- name : Set up Python ${{ matrix.python-version }}
102
84
uses : actions/setup-python@v4
0 commit comments