Skip to content

Commit 3332bec

Browse files
committed
Split async and sync http CI jobs
1 parent c2059d4 commit 3332bec

File tree

4 files changed

+214
-61
lines changed

4 files changed

+214
-61
lines changed

.circleci/config.yml

+182-36
Original file line numberDiff line numberDiff line change
@@ -244,28 +244,62 @@ jobs:
244244
# Please don't use this key for any shenanigans
245245
WEB3_INFURA_PROJECT_ID: 7707850c2fb7465ebe6f150d67182e22
246246

247-
py37-integration-goethereum-ipc:
247+
py37-integration-goethereum-ipc_eth:
248248
<<: *geth_steps
249249
docker:
250250
- image: cimg/python:3.7
251+
- image: cimg/python:3.7
251252
environment:
252-
TOXENV: py37-integration-goethereum-ipc
253+
TOXENV: py37-integration-goethereum-ipc_eth
253254
GETH_VERSION: v1.10.17
254255

255-
py37-integration-goethereum-http:
256+
py37-integration-goethereum-ipc_non_eth:
256257
<<: *geth_steps
257258
docker:
258259
- image: cimg/python:3.7
260+
- image: cimg/python:3.7
259261
environment:
260-
TOXENV: py37-integration-goethereum-http
262+
TOXENV: py37-integration-goethereum-ipc_non_eth
261263
GETH_VERSION: v1.10.17
262264

263-
py37-integration-goethereum-ws:
265+
py37-integration-goethereum-http_eth:
264266
<<: *geth_steps
265267
docker:
266268
- image: cimg/python:3.7
267269
environment:
268-
TOXENV: py37-integration-goethereum-ws
270+
TOXENV: py37-integration-goethereum-http_eth
271+
GETH_VERSION: v1.10.17
272+
273+
py37-integration-goethereum-http_non_eth:
274+
<<: *geth_steps
275+
docker:
276+
- image: cimg/python:3.7
277+
environment:
278+
TOXENV: py37-integration-goethereum-http_non_eth
279+
GETH_VERSION: v1.10.17
280+
281+
py37-integration-goethereum-http_async:
282+
<<: *geth_steps
283+
docker:
284+
- image: cimg/python:3.7
285+
environment:
286+
TOXENV: py37-integration-goethereum-http_async
287+
GETH_VERSION: v1.10.17
288+
289+
py37-integration-goethereum-ws_eth:
290+
<<: *geth_steps
291+
docker:
292+
- image: cimg/python:3.7
293+
environment:
294+
TOXENV: py37-integration-goethereum-ws_eth
295+
GETH_VERSION: v1.10.17
296+
297+
py37-integration-goethereum-ws_non_eth:
298+
<<: *geth_steps
299+
docker:
300+
- image: cimg/python:3.7
301+
environment:
302+
TOXENV: py37-integration-goethereum-ws_non_eth
269303
GETH_VERSION: v1.10.17
270304

271305
py37-integration-ethtester-pyevm:
@@ -314,28 +348,60 @@ jobs:
314348
# Please don't use this key for any shenanigans
315349
WEB3_INFURA_PROJECT_ID: 7707850c2fb7465ebe6f150d67182e22
316350

317-
py38-integration-goethereum-ipc:
351+
py38-integration-goethereum-ipc_eth:
352+
<<: *geth_steps
353+
docker:
354+
- image: cimg/python:3.8
355+
environment:
356+
TOXENV: py38-integration-goethereum-ipc_eth
357+
GETH_VERSION: v1.10.17
358+
359+
py38-integration-goethereum-ipc_non_eth:
360+
<<: *geth_steps
361+
docker:
362+
- image: cimg/python:3.8
363+
environment:
364+
TOXENV: py38-integration-goethereum-ipc_non_eth
365+
GETH_VERSION: v1.10.17
366+
367+
py38-integration-goethereum-http_eth:
368+
<<: *geth_steps
369+
docker:
370+
- image: cimg/python:3.8
371+
environment:
372+
TOXENV: py38-integration-goethereum-http_eth
373+
GETH_VERSION: v1.10.17
374+
375+
py38-integration-goethereum-http_non_eth:
376+
<<: *geth_steps
377+
docker:
378+
- image: cimg/python:3.8
379+
environment:
380+
TOXENV: py38-integration-goethereum-http_non_eth
381+
GETH_VERSION: v1.10.17
382+
383+
py38-integration-goethereum-http_async:
318384
<<: *geth_steps
319385
docker:
320386
- image: cimg/python:3.8
321387
environment:
322-
TOXENV: py38-integration-goethereum-ipc
388+
TOXENV: py38-integration-goethereum-http_async
323389
GETH_VERSION: v1.10.17
324390

325-
py38-integration-goethereum-http:
391+
py38-integration-goethereum-ws_eth:
326392
<<: *geth_steps
327393
docker:
328394
- image: cimg/python:3.8
329395
environment:
330-
TOXENV: py38-integration-goethereum-http
396+
TOXENV: py38-integration-goethereum-ws_eth
331397
GETH_VERSION: v1.10.17
332398

333-
py38-integration-goethereum-ws:
399+
py38-integration-goethereum-ws_non_eth:
334400
<<: *geth_steps
335401
docker:
336402
- image: cimg/python:3.8
337403
environment:
338-
TOXENV: py38-integration-goethereum-ws
404+
TOXENV: py38-integration-goethereum-ws_non_eth
339405
GETH_VERSION: v1.10.17
340406

341407
py38-integration-ethtester-pyevm:
@@ -379,28 +445,60 @@ jobs:
379445
# Please don't use this key for any shenanigans
380446
WEB3_INFURA_PROJECT_ID: 7707850c2fb7465ebe6f150d67182e22
381447

382-
py39-integration-goethereum-ipc:
448+
py39-integration-goethereum-ipc_eth:
449+
<<: *geth_steps
450+
docker:
451+
- image: cimg/python:3.9
452+
environment:
453+
TOXENV: py39-integration-goethereum-ipc_eth
454+
GETH_VERSION: v1.10.17
455+
456+
py39-integration-goethereum-ipc_non_eth:
457+
<<: *geth_steps
458+
docker:
459+
- image: cimg/python:3.9
460+
environment:
461+
TOXENV: py39-integration-goethereum-ipc_non_eth
462+
GETH_VERSION: v1.10.17
463+
464+
py39-integration-goethereum-http_eth:
465+
<<: *geth_steps
466+
docker:
467+
- image: cimg/python:3.9
468+
environment:
469+
TOXENV: py39-integration-goethereum-http_eth
470+
GETH_VERSION: v1.10.17
471+
472+
py39-integration-goethereum-http_non_eth:
473+
<<: *geth_steps
474+
docker:
475+
- image: cimg/python:3.9
476+
environment:
477+
TOXENV: py39-integration-goethereum-http_non_eth
478+
GETH_VERSION: v1.10.17
479+
480+
py39-integration-goethereum-http_async:
383481
<<: *geth_steps
384482
docker:
385483
- image: cimg/python:3.9
386484
environment:
387-
TOXENV: py39-integration-goethereum-ipc
485+
TOXENV: py39-integration-goethereum-http_async
388486
GETH_VERSION: v1.10.17
389487

390-
py39-integration-goethereum-http:
488+
py39-integration-goethereum-ws_eth:
391489
<<: *geth_steps
392490
docker:
393491
- image: cimg/python:3.9
394492
environment:
395-
TOXENV: py39-integration-goethereum-http
493+
TOXENV: py39-integration-goethereum-ws_eth
396494
GETH_VERSION: v1.10.17
397495

398-
py39-integration-goethereum-ws:
496+
py39-integration-goethereum-ws_non_eth:
399497
<<: *geth_steps
400498
docker:
401499
- image: cimg/python:3.9
402500
environment:
403-
TOXENV: py39-integration-goethereum-ws
501+
TOXENV: py39-integration-goethereum-ws_non_eth
404502
GETH_VERSION: v1.10.17
405503

406504
py39-integration-ethtester-pyevm:
@@ -444,28 +542,60 @@ jobs:
444542
# Please don't use this key for any shenanigans
445543
WEB3_INFURA_PROJECT_ID: 7707850c2fb7465ebe6f150d67182e22
446544

447-
py310-integration-goethereum-ipc:
545+
py310-integration-goethereum-ipc_eth:
546+
<<: *geth_steps
547+
docker:
548+
- image: cimg/python:3.10
549+
environment:
550+
TOXENV: py310-integration-goethereum-ipc_eth
551+
GETH_VERSION: v1.10.17
552+
553+
py310-integration-goethereum-ipc_non_eth:
554+
<<: *geth_steps
555+
docker:
556+
- image: cimg/python:3.10
557+
environment:
558+
TOXENV: py310-integration-goethereum-ipc_non_eth
559+
GETH_VERSION: v1.10.17
560+
561+
py310-integration-goethereum-http_eth:
562+
<<: *geth_steps
563+
docker:
564+
- image: cimg/python:3.10
565+
environment:
566+
TOXENV: py310-integration-goethereum-http_eth
567+
GETH_VERSION: v1.10.17
568+
569+
py310-integration-goethereum-http_non_eth:
570+
<<: *geth_steps
571+
docker:
572+
- image: cimg/python:3.10
573+
environment:
574+
TOXENV: py310-integration-goethereum-http_non_eth
575+
GETH_VERSION: v1.10.17
576+
577+
py310-integration-goethereum-http_async:
448578
<<: *geth_steps
449579
docker:
450580
- image: cimg/python:3.10
451581
environment:
452-
TOXENV: py310-integration-goethereum-ipc
582+
TOXENV: py310-integration-goethereum-http_async
453583
GETH_VERSION: v1.10.17
454584

455-
py310-integration-goethereum-http:
585+
py310-integration-goethereum-ws_eth:
456586
<<: *geth_steps
457587
docker:
458588
- image: cimg/python:3.10
459589
environment:
460-
TOXENV: py310-integration-goethereum-http
590+
TOXENV: py310-integration-goethereum-ws_eth
461591
GETH_VERSION: v1.10.17
462592

463-
py310-integration-goethereum-ws:
593+
py310-integration-goethereum-ws_non_eth:
464594
<<: *geth_steps
465595
docker:
466596
- image: cimg/python:3.10
467597
environment:
468-
TOXENV: py310-integration-goethereum-ws
598+
TOXENV: py310-integration-goethereum-ws_non_eth
469599
GETH_VERSION: v1.10.17
470600

471601
py310-integration-ethtester-pyevm:
@@ -505,30 +635,46 @@ workflows:
505635
- benchmark
506636
- py37-ens
507637
- py37-ethpm
508-
- py37-integration-goethereum-ipc
509-
- py37-integration-goethereum-http
510-
- py37-integration-goethereum-ws
638+
- py37-integration-goethereum-ipc_eth
639+
- py37-integration-goethereum-ipc_non_eth
640+
- py37-integration-goethereum-http_eth
641+
- py37-integration-goethereum-http_non_eth
642+
- py37-integration-goethereum-http_async
643+
- py37-integration-goethereum-ws_eth
644+
- py37-integration-goethereum-ws_non_eth
511645
- py37-integration-ethtester-pyevm
512646
- py37-wheel-cli
513647
- py37-wheel-cli-windows
514648
- py38-ens
515649
- py38-ethpm
516-
- py38-integration-goethereum-ipc
517-
- py38-integration-goethereum-http
518-
- py38-integration-goethereum-ws
650+
- py38-integration-goethereum-ipc_eth
651+
- py38-integration-goethereum-ipc_non_eth
652+
- py38-integration-goethereum-http_eth
653+
- py38-integration-goethereum-http_non_eth
654+
- py38-integration-goethereum-http_async
655+
- py38-integration-goethereum-ws_eth
656+
- py38-integration-goethereum-ws_non_eth
519657
- py38-integration-ethtester-pyevm
520658
- py38-wheel-cli
521659
- py39-ens
522660
- py39-ethpm
523-
- py39-integration-goethereum-ipc
524-
- py39-integration-goethereum-http
525-
- py39-integration-goethereum-ws
661+
- py39-integration-goethereum-ipc_eth
662+
- py39-integration-goethereum-ipc_non_eth
663+
- py39-integration-goethereum-http_eth
664+
- py39-integration-goethereum-http_non_eth
665+
- py39-integration-goethereum-http_async
666+
- py39-integration-goethereum-ws_eth
667+
- py39-integration-goethereum-ws_non_eth
526668
- py39-integration-ethtester-pyevm
527669
- py39-wheel-cli
528670
- py310-ens
529671
- py310-ethpm
530-
- py310-integration-goethereum-ipc
531-
- py310-integration-goethereum-http
532-
- py310-integration-goethereum-ws
672+
- py310-integration-goethereum-ipc_eth
673+
- py310-integration-goethereum-ipc_non_eth
674+
- py310-integration-goethereum-http_eth
675+
- py310-integration-goethereum-http_non_eth
676+
- py310-integration-goethereum-http_async
677+
- py310-integration-goethereum-ws_eth
678+
- py310-integration-goethereum-ws_non_eth
533679
- py310-integration-ethtester-pyevm
534680
- py310-wheel-cli

tests/integration/go_ethereum/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def emitter_contract_address(emitter_contract, address_conversion_func):
156156
return address_conversion_func(emitter_contract.address)
157157

158158

159-
@pytest.fixture
159+
@pytest.fixture(scope="module")
160160
def unlocked_account(w3, unlockable_account, unlockable_account_pw):
161161
w3.geth.personal.unlock_account(unlockable_account, unlockable_account_pw)
162162
yield unlockable_account

0 commit comments

Comments
 (0)