Skip to content

Commit

Permalink
ci: Run execution-spec-tests (#737)
Browse files Browse the repository at this point in the history
- Upgrade ethereum/tests to v13.
- Download and run execution-spec-tests (v1.0.6).
  • Loading branch information
chfast authored Nov 28, 2023
1 parent d78b935 commit 6c4889b
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ commands:
working_directory: ~/tests
command: git submodule update --init --recursive --depth=1 --progress

download_execution_spec_tests:
steps:
- run:
name: "Download execution-spec-tests"
working_directory: ~/spec-tests
command: |
curl -L https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.6/fixtures_develop.tar.gz | tar -xz
ls -l
build:
description: "Build"
steps:
Expand Down Expand Up @@ -453,7 +462,7 @@ jobs:
branch: evmc-v11.0.0-alpha.1
commit: evmc-v11.0.0-alpha.1
- download_execution_tests:
rev: v12.4
rev: v13
- run:
name: "Silkworm-driven blockchain tests (Advanced)"
working_directory: ~/build
Expand All @@ -474,9 +483,17 @@ jobs:
BUILD_TYPE: Coverage
CMAKE_OPTIONS: -DCMAKE_CXX_FLAGS=-Og
steps:
- download_execution_spec_tests
- build
- run:
name: "Execution spec tests"
working_directory: ~/build
command: >
EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json
bin/evmone-blockchaintest ~/spec-tests/fixtures
- download_execution_tests:
rev: v12.4
rev: v13
- run:
name: "State tests"
working_directory: ~/build
Expand All @@ -485,14 +502,6 @@ jobs:
bin/evmone-statetest
~/tests/GeneralStateTests
~/tests/LegacyTests/Constantinople/GeneralStateTests
~/tests/EIPTests/StateTests/stEIP1153-transientStorage
- run:
name: "Blockchain tests (Pyspecs)"
working_directory: ~/build
command: >
EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json
bin/evmone-blockchaintest
~/tests/BlockchainTests/Pyspecs
- run:
name: "Blockchain tests (GeneralStateTests)"
working_directory: ~/build
Expand Down

0 comments on commit 6c4889b

Please sign in to comment.