Skip to content

Commit 53399fb

Browse files
committed
ci: Run also legacy tests
1 parent 11460b2 commit 53399fb

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

circle.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ commands:
133133
- run:
134134
name: "Download consensus tests: <<parameters.rev>>"
135135
working_directory: ~/tests
136-
command: curl -L https://github.com/ethereum/tests/archive/<<parameters.rev>>.tar.gz | tar -xz --strip=1
136+
command: |
137+
git clone --depth=50 --single-branch https://github.com/ethereum/tests .
138+
git checkout <<parameters.rev>>
139+
git submodule init LegacyTests
140+
git config -f .gitmodules submodule.LegacyTests.shallow true
141+
git submodule update
137142
138143
build:
139144
description: "Build"
@@ -321,7 +326,7 @@ jobs:
321326
- build_silkworm:
322327
commit: d38c7115852ac40071df66ec681debe081d71afa
323328
- download_consensus_tests:
324-
rev: v10.4
329+
rev: cde14b047d0d2549ed8fd46b4946aed0ec938cbf
325330
- run:
326331
name: "Silkworm-driven consensus tests (Advanced)"
327332
working_directory: ~/build
@@ -344,11 +349,15 @@ jobs:
344349
steps:
345350
- build
346351
- download_consensus_tests:
347-
rev: v10.4
352+
rev: cde14b047d0d2549ed8fd46b4946aed0ec938cbf
348353
- run:
349354
name: "State tests"
350355
working_directory: ~/build
351356
command: bin/evmone-statetest ~/tests/GeneralStateTests
357+
- run:
358+
name: "State tests (legacy)"
359+
working_directory: ~/build
360+
command: bin/evmone-statetest ~/tests/LegacyTests/Constantinople/GeneralStateTests
352361
- collect_coverage_gcc
353362
- upload_coverage:
354363
flags: statetests

0 commit comments

Comments
 (0)