blob: 3c4d22abf79a92030a549f9c725600bfeb752328 (
plain)
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
name: CI
on:
push:
pull_request:
release:
types: [published]
schedule:
# Daily at 3:21
- cron: '21 3 * * *'
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version:
- name: pypy2
toxenv: pypy2-build
- name: pypy2
toxenv: pypy2-tests
- name: pypy2
toxenv: pypy2-tests_nongpl
- name: pypy2
toxenv: safety
- name: pypy3
toxenv: pypy3-build
- name: pypy3
toxenv: pypy3-tests
- name: pypy3
toxenv: pypy3-tests_nongpl
- name: pypy3
toxenv: demo
- name: pypy3
toxenv: readme
- name: pypy3
toxenv: safety
- name: pypy3
toxenv: secrets
- name: pypy3
toxenv: style
- name: pypy3
toxenv: docs-html
- name: pypy3
toxenv: docs-doctest
- name: pypy3
toxenv: docs-linkcheck
- name: pypy3
toxenv: docs-spelling
- name: pypy3
toxenv: docs-style
- name: 3.5
toxenv: py35-build
- name: 3.5
toxenv: py35-tests
- name: 3.5
toxenv: py35-tests_nongpl
- name: 3.6
toxenv: py36-build
- name: 3.6
toxenv: py36-tests
- name: 3.6
toxenv: py36-tests_nongpl
- name: 3.7
toxenv: py37-build
- name: 3.7
toxenv: py37-tests
- name: 3.7
toxenv: py37-tests_nongpl
- name: 3.8
toxenv: py38-build
- name: 3.8
toxenv: py38-tests
- name: 3.8
toxenv: py38-tests_nongpl
exclude:
# Building on Windows isn't supported, and 3.5/PyPy on Windows
# seem to fail with silent obscure errors.
- os: windows-latest
python-version:
name: pypy2
toxenv: pypy2-build
- os: windows-latest
python-version:
name: pypy2
toxenv: safety
- os: windows-latest
python-version:
name: pypy3
toxenv: pypy3-build
- os: windows-latest
python-version:
name: pypy3
toxenv: pypy3-tests
- os: windows-latest
python-version:
name: pypy3
toxenv: pypy3-tests_nongpl
- os: windows-latest
python-version:
name: pypy3
toxenv: safety
- os: windows-latest
python-version:
name: pypy3
toxenv: secrets
- os: windows-latest
python-version:
name: pypy3
toxenv: style
- os: windows-latest
python-version:
name: 3.5
toxenv: py35-build
- os: windows-latest
python-version:
name: 3.5
toxenv: py35-tests
- os: windows-latest
python-version:
name: 3.5
toxenv: py35-tests_nongpl
- os: windows-latest
python-version:
name: 3.6
toxenv: py36-tests
- os: windows-latest
python-version:
name: 3.6
toxenv: py36-tests_nongpl
- os: windows-latest
python-version:
name: 3.6
toxenv: py36-build
- os: windows-latest
python-version:
name: 3.7
toxenv: py37-build
- os: windows-latest
python-version:
name: 3.8
toxenv: py38-build
- os: windows-latest
python-version:
name: pypy3
toxenv: demo
- os: windows-latest
python-version:
name: pypy3
toxenv: readme
- os: windows-latest
python-version:
name: pypy3
toxenv: docs-html
- os: windows-latest
python-version:
name: pypy3
toxenv: docs-doctest
- os: windows-latest
python-version:
name: pypy3
toxenv: docs-linkcheck
- os: windows-latest
python-version:
name: pypy3
toxenv: docs-spelling
- os: windows-latest
python-version:
name: pypy3
toxenv: docs-style
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version.name }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version.name }}
- name: Ensure we have new enough versions to respect python_version
run: python -m pip install -U pip setuptools
- name: Install dependencies
run: sudo apt-get install -y libenchant-dev libxml2-dev libxslt-dev
if: runner.os == 'Linux' && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install dependencies
run: brew install enchant
if: runner.os == 'macOS' && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install tox
run: python -m pip install tox
- name: Use venv on Windows
run: python -m pip install tox-venv
if: runner.os == 'Windows'
- name: Run tox
run: python -m tox -e "${{ matrix.python-version.toxenv }}"
|