From 819197f05337f65e4d2144d691dfcfe504d23eea Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Wed, 31 Jul 2024 19:21:49 +0200 Subject: [PATCH] add execution spec tests in CI --- .github/workflows/spectest.yml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/spectest.yml diff --git a/.github/workflows/spectest.yml b/.github/workflows/spectest.yml new file mode 100644 index 0000000000000..42199b167a789 --- /dev/null +++ b/.github/workflows/spectest.yml @@ -0,0 +1,35 @@ +name: Execution spec tests + +on: + push: + branches: [ master ] + pull_request: + branches: [ master, kaustinen-with-shapella ] + workflow_dispatch: + +jobs: + build: + runs-on: self-hosted + steps: + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.22.4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.10.14 + - name: Build + run: | + go build ./cmd/evm + git clone https://github.com/ethereum/execution-spec-tests + cd execution-spec-tests + git checkout 88e54ac3b0324b0b9e7428e92c6b8073d5be9ed5 -b verkle/main + rm -rf venv + python3 -m venv venv + . venv/bin/activate + pip install -e .[docs,lint,test] --force-reinstall + solc-select use 0.8.24 --always-install + rm -rf fixtures + fill --fork EIP6800Transition -m blockchain_test --evm-bin=../evm -n auto