Skip to content

Eth blocktests ci

Eth blocktests ci #11

Workflow file for this run

name: ETH Blocktests
on:
push:
branches:
- seiv2
pull_request:
branches:
- seiv2
defaults:
run:
shell: bash
jobs:
split-blocktests:
name: "Split ETH Blocktests"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- name: Clone ETH Blocktests
run: git clone https://github.com/ethereum/tests.git ethtests
- name: List ETH Blocktests
run: ./run_blocktests.sh list ./ethtests/BlockchainTests/ValidBlocks/
- name: Set the matrix output
id: set-matrix
run: echo "matrix=[$(cat blocktests_list.txt)]" >> $GITHUB_OUTPUT
- name: Echo matrix
run: echo ${{ steps.set-matrix.outputs.matrix }}
eth-blocktests:
name: "Run ETH Blocktests"
needs: split-blocktests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test-file: ${{fromJson(needs.split-blocktests.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Clone ETH Blocktests
run: git clone https://github.com/ethereum/tests.git ethtests
- name: "Run ETH Blocktest ${{ matrix.test-file }}"
run: ./run_blocktests.sh run ${{ matrix.test-file }}