@@ -18,17 +18,17 @@ permissions: {}
18
18
19
19
jobs :
20
20
test :
21
- runs-on : ubuntu-20 .04
21
+ runs-on : ubuntu-22 .04
22
22
continue-on-error : ${{ matrix.allow_failure }}
23
23
timeout-minutes : 15
24
24
permissions :
25
25
contents : read
26
26
steps :
27
- - uses : actions/checkout@v2
27
+ - uses : actions/checkout@v3
28
28
with :
29
29
persist-credentials : false
30
30
31
- - uses : actions/setup-python@v2
31
+ - uses : actions/setup-python@v4
32
32
with :
33
33
python-version : ${{ matrix.python }}
34
34
55
55
56
56
- name : Report coverage
57
57
if : contains(matrix.name, 'coverage')
58
- uses : codecov/codecov-action@v2
58
+ uses : codecov/codecov-action@v3
59
59
with :
60
60
fail_ci_if_error : true
61
61
files : ./coverage.xml
65
65
matrix :
66
66
include :
67
67
- name : linting,docs
68
- python : 3.8
68
+ python : ' 3.8'
69
69
allow_failure : false
70
70
71
71
- name : py310-dj41-postgres-xdist-coverage
@@ -81,40 +81,40 @@ jobs:
81
81
allow_failure : false
82
82
83
83
- name : py39-dj41-mysql_innodb-coverage
84
- python : 3.9
84
+ python : ' 3.9'
85
85
allow_failure : false
86
86
87
87
- name : py39-dj40-mysql_innodb-coverage
88
- python : 3.9
88
+ python : ' 3.9'
89
89
allow_failure : false
90
90
91
91
- name : py39-dj32-mysql_innodb-xdist-coverage
92
- python : 3.9
92
+ python : ' 3.9'
93
93
allow_failure : false
94
94
95
95
- name : py38-dj41-sqlite-xdist-coverage
96
- python : 3.8
96
+ python : ' 3.8'
97
97
allow_failure : false
98
98
99
99
- name : py38-dj40-sqlite-xdist-coverage
100
- python : 3.8
100
+ python : ' 3.8'
101
101
allow_failure : false
102
102
103
103
- name : py38-dj32-sqlite-xdist-coverage
104
- python : 3.8
104
+ python : ' 3.8'
105
105
allow_failure : false
106
106
107
107
- name : py310-djmain-sqlite-coverage
108
108
python : ' 3.10'
109
109
allow_failure : true
110
110
111
111
- name : py37-dj32-mysql_myisam-coverage
112
- python : 3.7
112
+ python : ' 3.7'
113
113
allow_failure : false
114
114
115
115
# pypy3: not included with coverage reports (much slower then).
116
116
- name : pypy3-dj32-postgres
117
- python : pypy3
117
+ python : ' pypy3.9 '
118
118
allow_failure : false
119
119
120
120
deploy :
@@ -125,14 +125,14 @@ jobs:
125
125
contents : read
126
126
127
127
steps :
128
- - uses : actions/checkout@v2
128
+ - uses : actions/checkout@v3
129
129
with :
130
130
fetch-depth : 0
131
131
persist-credentials : false
132
132
133
- - uses : actions/setup-python@v2
133
+ - uses : actions/setup-python@v4
134
134
with :
135
- python-version : " 3.8 "
135
+ python-version : " 3.10 "
136
136
137
137
- name : Install dependencies
138
138
run : |
@@ -143,7 +143,7 @@ jobs:
143
143
run : python -m build
144
144
145
145
- name : Publish package
146
- uses : pypa/gh-action-pypi-publish@v1.4.1
146
+ uses : pypa/gh-action-pypi-publish@v1.6.4
147
147
with :
148
148
user : __token__
149
149
password : ${{ secrets.pypi_token }}
0 commit comments