Skip to content

Commit 137e287

Browse files
committed
ci: add petersburg CI job.
1 parent 13e4f48 commit 137e287

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ jobs:
171171
- image: circleci/python:3.6
172172
environment:
173173
TOXENV: py36-rpc-state-homestead
174+
py36-rpc-state-petersburg:
175+
<<: *common
176+
docker:
177+
- image: circleci/python:3.6
178+
environment:
179+
TOXENV: py36-rpc-state-petersburg
180+
174181
py36-rpc-state-tangerine_whistle:
175182
<<: *common
176183
docker:
@@ -347,6 +354,7 @@ workflows:
347354
- py36-rpc-state-constantinople
348355
- py36-rpc-state-frontier
349356
- py36-rpc-state-homestead
357+
- py36-rpc-state-petersburg
350358
- py36-rpc-state-tangerine_whistle
351359
- py36-rpc-state-spurious_dragon
352360
- py36-rpc-state-quadratic

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
envlist=
33
py{36,37}-{core,p2p,integration,lightchain_integration,eth2-core,eth2-fixtures,eth2-integration,plugins}
44
py{36}-long_run_integration
5-
py{36}-rpc-state-{frontier,homestead,tangerine_whistle,spurious_dragon,byzantium,constantinople,quadratic}
5+
py{36}-rpc-state-{frontier,homestead,tangerine_whistle,spurious_dragon,byzantium,constantinople,petersburg,quadratic}
66
py{36}-rpc-blockchain
77
py{36,37}-libp2p
88
py{36,37}-lint
@@ -32,7 +32,9 @@ commands=
3232
rpc-state-spurious_dragon: pytest -n 4 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and not stQuadraticComplexityTest and EIP158'}
3333
# The following test seems to consume a lot of memory. Restricting to 3 processes reduces crashes
3434
rpc-state-byzantium: pytest -n 3 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and not stQuadraticComplexityTest and Byzantium'}
35-
rpc-state-constantinople: pytest -n 3 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and not stQuadraticComplexityTest and Constantinople'}
35+
# Must match Constantinople but not ConstantinopleFix!
36+
rpc-state-constantinople: pytest -n 3 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and not stQuadraticComplexityTest and not ConstantinopleFix and Constantinople'}
37+
rpc-state-petersburg: pytest -n 3 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and not stQuadraticComplexityTest and ConstantinopleFix'}
3638
rpc-state-quadratic: pytest -n 4 {posargs:tests/json-fixtures-over-rpc/test_rpc_fixtures.py -k 'GeneralStateTests and stQuadraticComplexityTest'}
3739
lightchain_integration: pytest --integration {posargs:tests/integration/test_lightchain_integration.py}
3840

0 commit comments

Comments
 (0)