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 88c21d3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,24 @@ jobs:
CMAKE_OPTIONS: -DCMAKE_CXX_FLAGS=-Og
steps:
- build
- download_consensus_tests:
rev: v10.4
- run:
# TODO: Merge with download_consensus_tests
name: "Download tests"
working_directory: ~/tests
command: |
git clone --depth=50 --single-branch https://github.com/ethereum/tests .
git checkout cde14b047d0d2549ed8fd46b4946aed0ec938cbf
git submodule init LegacyTests
git config -f .gitmodules submodule.LegacyTests.shallow true
git submodule update
- 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 88c21d3

Please sign in to comment.