-
Notifications
You must be signed in to change notification settings - Fork 136
175 lines (149 loc) · 4.11 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-assertive flake8-bugbear isort
- name: flake8
run: |
flake8
- name: isort
run: |
isort . --check-only --diff
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
tox_env:
- "py35-django18"
- "py35-django19"
- "py35-django110"
- "py35-django111"
- "py35-django20"
- "py35-django21"
- "py35-django22"
- "py36-django111"
- "py36-django20"
- "py36-django21"
- "py36-django22"
- "py36-django30"
- "py36-django32"
- "py37-django111"
- "py37-django20"
- "py37-django21"
- "py37-django22"
- "py37-django30"
- "py37-django32"
- "py38-django20"
- "py38-django21"
- "py38-django22"
- "py38-django30"
- "py38-django32"
- "py38-django40"
- "py38-django41"
- "py39-django30"
- "py39-django32"
- "py39-django40"
- "py39-django41"
- "py310-django32"
- "py310-django40"
- "py310-django41"
- "py311-django41"
include:
- python: "3.5"
tox_env: "py35-django18"
- python: "3.5"
tox_env: "py35-django19"
- python: "3.5"
tox_env: "py35-django110"
- python: "3.5"
tox_env: "py35-django111"
- python: "3.5"
tox_env: "py35-django20"
- python: "3.5"
tox_env: "py35-django21"
- python: "3.5"
tox_env: "py35-django22"
- python: "3.6"
tox_env: "py36-django111"
- python: "3.6"
tox_env: "py36-django20"
- python: "3.6"
tox_env: "py36-django21"
- python: "3.6"
tox_env: "py36-django22"
- python: "3.6"
tox_env: "py36-django30"
- python: "3.6"
tox_env: "py36-django32"
- python: "3.7"
tox_env: "py37-django111"
- python: "3.7"
tox_env: "py37-django20"
- python: "3.7"
tox_env: "py37-django21"
- python: "3.7"
tox_env: "py37-django22"
- python: "3.7"
tox_env: "py37-django30"
- python: "3.7"
tox_env: "py37-django32"
- python: "3.8"
tox_env: "py38-django20"
- python: "3.8"
tox_env: "py38-django21"
- python: "3.8"
tox_env: "py38-django22"
- python: "3.8"
tox_env: "py38-django30"
- python: "3.8"
tox_env: "py38-django32"
- python: "3.8"
tox_env: "py38-django40"
- python: "3.8"
tox_env: "py38-django41"
- python: "3.9"
tox_env: "py39-django30"
- python: "3.9"
tox_env: "py39-django32"
- python: "3.9"
tox_env: "py39-django40"
- python: "3.9"
tox_env: "py39-django41"
- python: "3.10"
tox_env: "py310-django32"
- python: "3.10"
tox_env: "py310-django40"
- python: "3.10"
tox_env: "py310-django41"
- python: "3.11"
tox_env: "py311-django41"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install
run: |
python -m pip install --upgrade wheel setuptools
pip install distlib tox
- name: Test
run: |
tox -e ${{ matrix.tox_env }}