1
- version : 2.0
1
+ version : 2.1
2
2
3
3
# heavily inspired by:
4
4
# https://raw.githubusercontent.com/pinax/pinax-wiki/6bd2a99ab6f702e300d708532a6d1d9aa638b9f8/.circleci/config.yml
@@ -14,7 +14,7 @@ common: &common
14
14
# this is necessary until circleci images begin using openssl>=3.0.7
15
15
name : update openssl.cnf for ripemd160
16
16
command : |
17
- sudo tee -a /etc/ssl/openssl.cnf >/dev/null <<'EOF'
17
+ sudo tee -a /etc/ssl/openssl.cnf >/dev/null \ <<'EOF'
18
18
19
19
[openssl_init]
20
20
providers = provider_sect
@@ -41,7 +41,7 @@ common: &common
41
41
command : ./.circleci/merge_pr.sh
42
42
when : on_fail
43
43
- run :
44
- name : merge pull request base (3nd try)
44
+ name : merge pull request base (3rd try)
45
45
command : ./.circleci/merge_pr.sh
46
46
when : on_fail
47
47
- restore_cache :
@@ -52,19 +52,47 @@ common: &common
52
52
command : |
53
53
python -m pip install --upgrade pip
54
54
python -m pip install tox
55
+ - run :
56
+ name : install pre-commit
57
+ command : python -m pip install --progress-bar=off pre-commit
55
58
- run :
56
59
name : run tox
57
- command : python -m tox -r
60
+ command : python -m tox run -r
58
61
- save_cache :
59
62
paths :
60
63
- .hypothesis
61
64
- .tox
62
65
- ~/.cache/pip
63
66
- ~/.local
64
- - ./eggs
65
67
key : cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
66
68
resource_class : xlarge
67
69
70
+ orbs :
71
+
72
+
73
+ windows_steps : &windows_steps
74
+ executor :
75
+ name : win/default
76
+ shell : bash.exe
77
+ working_directory : C:\Users\circleci\project\py-evm
78
+ steps :
79
+ - checkout
80
+ - restore_cache :
81
+ keys :
82
+ - cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
83
+ - run :
84
+ name : install dependencies
85
+ command : |
86
+ python -m pip install --upgrade pip
87
+ python -m pip install tox
88
+ - run :
89
+ name : run tox
90
+ command : python -m tox run -r
91
+ - save_cache :
92
+ paths :
93
+ - .tox
94
+ key : cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
95
+
68
96
jobs :
69
97
docs :
70
98
<< : *common
@@ -127,61 +155,30 @@ jobs:
127
155
- image : cimg/python:3.11
128
156
environment :
129
157
TOXENV : py311-native-blockchain-petersburg
130
- py311-native-blockchain-tangerine_whistle :
158
+ py311-native-blockchain-shanghai :
131
159
<< : *common
132
160
docker :
133
161
- image : cimg/python:3.11
134
162
environment :
135
- TOXENV : py311-native-blockchain-tangerine_whistle
163
+ TOXENV : py311-native-blockchain-shanghai
136
164
py311-native-blockchain-spurious_dragon :
137
165
<< : *common
138
166
docker :
139
167
- image : cimg/python:3.11
140
168
environment :
141
169
TOXENV : py311-native-blockchain-spurious_dragon
142
- py311-native-blockchain-transition :
170
+ py311-native-blockchain-tangerine_whistle :
143
171
<< : *common
144
172
docker :
145
173
- image : cimg/python:3.11
146
174
environment :
147
- TOXENV : py311-native-blockchain-transition
148
- py311-native-blockchain-shanghai :
175
+ TOXENV : py311-native-blockchain-tangerine_whistle
176
+ py311-native-blockchain-transition :
149
177
<< : *common
150
178
docker :
151
179
- image : cimg/python:3.11
152
180
environment :
153
- TOXENV : py311-native-blockchain-shanghai
154
-
155
- py37-core :
156
- << : *common
157
- docker :
158
- - image : cimg/python:3.7
159
- environment :
160
- TOXENV : py37-core
161
- py37-database :
162
- << : *common
163
- docker :
164
- - image : cimg/python:3.7
165
- environment :
166
- TOXENV : py37-database
167
- py37-difficulty :
168
- << : *common
169
- docker :
170
- - image : cimg/python:3.7
171
- environment :
172
- TOXENV : py37-difficulty
173
- py37-transactions :
174
- << : *common
175
- docker :
176
- - image : cimg/python:3.7
177
- environment :
178
- TOXENV : py37-transactions
179
- py37-vm :
180
- << : *common
181
- docker :
182
- - image : cimg/python:3.7
183
- environment :
184
- TOXENV : py37-vm
181
+ TOXENV : py311-native-blockchain-transition
185
182
186
183
py38-core :
187
184
<< : *common
@@ -201,6 +198,12 @@ jobs:
201
198
- image : cimg/python:3.8
202
199
environment :
203
200
TOXENV : py38-difficulty
201
+ py38-lint :
202
+ << : *common
203
+ docker :
204
+ - image : cimg/python:3.8
205
+ environment :
206
+ TOXENV : py38-lint
204
207
py38-transactions :
205
208
<< : *common
206
209
docker :
@@ -213,12 +216,12 @@ jobs:
213
216
- image : cimg/python:3.8
214
217
environment :
215
218
TOXENV : py38-vm
216
- py38-lint :
219
+ py38-wheel :
217
220
<< : *common
218
221
docker :
219
222
- image : cimg/python:3.8
220
223
environment :
221
- TOXENV : py38-lint
224
+ TOXENV : py38-wheel
222
225
223
226
py39-core :
224
227
<< : *common
@@ -238,6 +241,12 @@ jobs:
238
241
- image : cimg/python:3.9
239
242
environment :
240
243
TOXENV : py39-difficulty
244
+ py39-lint :
245
+ << : *common
246
+ docker :
247
+ - image : cimg/python:3.9
248
+ environment :
249
+ TOXENV : py39-lint
241
250
py39-transactions :
242
251
<< : *common
243
252
docker :
@@ -250,12 +259,12 @@ jobs:
250
259
- image : cimg/python:3.9
251
260
environment :
252
261
TOXENV : py39-vm
253
- py39-lint :
262
+ py39-wheel :
254
263
<< : *common
255
264
docker :
256
265
- image : cimg/python:3.9
257
266
environment :
258
- TOXENV : py39-lint
267
+ TOXENV : py39-wheel
259
268
260
269
py310-core :
261
270
<< : *common
@@ -275,6 +284,12 @@ jobs:
275
284
- image : cimg/python:3.10
276
285
environment :
277
286
TOXENV : py310-difficulty
287
+ py310-lint :
288
+ << : *common
289
+ docker :
290
+ - image : cimg/python:3.10
291
+ environment :
292
+ TOXENV : py310-lint
278
293
py310-transactions :
279
294
<< : *common
280
295
docker :
@@ -287,12 +302,12 @@ jobs:
287
302
- image : cimg/python:3.10
288
303
environment :
289
304
TOXENV : py310-vm
290
- py310-lint :
305
+ py310-wheel :
291
306
<< : *common
292
307
docker :
293
308
- image : cimg/python:3.10
294
309
environment :
295
- TOXENV : py310-lint
310
+ TOXENV : py310-wheel
296
311
297
312
py311-core :
298
313
<< : *common
@@ -312,6 +327,12 @@ jobs:
312
327
- image : cimg/python:3.11
313
328
environment :
314
329
TOXENV : py311-difficulty
330
+ py311-lint :
331
+ << : *common
332
+ docker :
333
+ - image : cimg/python:3.11
334
+ environment :
335
+ TOXENV : py311-lint
315
336
py311-transactions :
316
337
<< : *common
317
338
docker :
@@ -324,57 +345,61 @@ jobs:
324
345
- image : cimg/python:3.11
325
346
environment :
326
347
TOXENV : py311-vm
327
- py311-lint :
348
+ py311-wheel :
328
349
<< : *common
329
350
docker :
330
351
- image : cimg/python:3.11
331
352
environment :
332
- TOXENV : py311-lint
353
+ TOXENV : py311-wheel
354
+ py311-wheel-windows :
355
+ << : *windows_steps
356
+ environment :
357
+ TOXENV : py311-wheel-windows
333
358
334
359
workflows :
335
360
version : 2
336
361
test :
337
362
jobs :
338
363
- docs
339
- - py311-native-blockchain-shanghai
340
- - py311-native-blockchain-merge
341
- - py311-native-blockchain-london
342
364
- py311-native-blockchain-berlin
343
365
- py311-native-blockchain-byzantium
344
366
- py311-native-blockchain-constantinople
345
367
- py311-native-blockchain-frontier
346
368
- py311-native-blockchain-homestead
347
369
- py311-native-blockchain-istanbul
370
+ - py311-native-blockchain-london
371
+ - py311-native-blockchain-merge
348
372
- py311-native-blockchain-petersburg
349
- - py311-native-blockchain-tangerine_whistle
373
+ - py311-native-blockchain-shanghai
350
374
- py311-native-blockchain-spurious_dragon
375
+ - py311-native-blockchain-tangerine_whistle
351
376
- py311-native-blockchain-transition
352
- - py37-vm
353
- - py38-vm
354
- - py39-vm
355
- - py310-vm
356
- - py311-vm
357
- - py37-core
358
377
- py38-core
359
378
- py39-core
360
379
- py310-core
361
380
- py311-core
362
- - py37-transactions
363
- - py38-transactions
364
- - py39-transactions
365
- - py310-transactions
366
- - py311-transactions
367
- - py37-difficulty
368
- - py38-difficulty
369
- - py39-difficulty
370
- - py310-difficulty
371
- - py311-difficulty
372
- - py37-database
373
381
- py38-database
374
382
- py39-database
375
383
- py310-database
376
384
- py311-database
385
+ - py38-difficulty
386
+ - py39-difficulty
387
+ - py310-difficulty
388
+ - py311-difficulty
377
389
- py38-lint
378
390
- py39-lint
379
391
- py310-lint
380
392
- py311-lint
393
+ - py38-transactions
394
+ - py39-transactions
395
+ - py310-transactions
396
+ - py311-transactions
397
+ - py38-vm
398
+ - py39-vm
399
+ - py310-vm
400
+ - py311-vm
401
+ - py38-wheel
402
+ - py39-wheel
403
+ - py310-wheel
404
+ - py311-wheel
405
+ - py311-wheel-windows
0 commit comments