Skip to content

Commit

Permalink
ci: Run also legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jul 15, 2022
1 parent 11460b2 commit 53399fb
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ commands:
- run:
name: "Download consensus tests: <<parameters.rev>>"
working_directory: ~/tests
command: curl -L https://github.com/ethereum/tests/archive/<<parameters.rev>>.tar.gz | tar -xz --strip=1
command: |
git clone --depth=50 --single-branch https://github.com/ethereum/tests .
git checkout <<parameters.rev>>
git submodule init LegacyTests
git config -f .gitmodules submodule.LegacyTests.shallow true
git submodule update
build:
description: "Build"
Expand Down Expand Up @@ -321,7 +326,7 @@ jobs:
- build_silkworm:
commit: d38c7115852ac40071df66ec681debe081d71afa
- download_consensus_tests:
rev: v10.4
rev: cde14b047d0d2549ed8fd46b4946aed0ec938cbf
- run:
name: "Silkworm-driven consensus tests (Advanced)"
working_directory: ~/build
Expand All @@ -344,11 +349,15 @@ jobs:
steps:
- build
- download_consensus_tests:
rev: v10.4
rev: cde14b047d0d2549ed8fd46b4946aed0ec938cbf
- run:
name: "State tests"
working_directory: ~/build
command: bin/evmone-statetest ~/tests/GeneralStateTests
- run:
name: "State tests (legacy)"
working_directory: ~/build
command: bin/evmone-statetest ~/tests/LegacyTests/Constantinople/GeneralStateTests
- collect_coverage_gcc
- upload_coverage:
flags: statetests
Expand Down

0 comments on commit 53399fb

Please sign in to comment.