Skip to content

Merge pull request #8 from weaveVM/merge-upstream-v45-14-0-3 #12

Merge pull request #8 from weaveVM/merge-upstream-v45-14-0-3

Merge pull request #8 from weaveVM/merge-upstream-v45-14-0-3 #12

name: Ethereum Tests
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
on:
push:
branches: [main, "release/**"]
pull_request:
branches: [main, "release/**"]
jobs:
tests-stable:
name: Ethereum Tests (Stable)
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
profile: [ethtests, release]
target: [i686-unknown-linux-gnu, x86_64-unknown-linux-gnu]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Checkout ethereum/tests
uses: actions/checkout@v4
with:
repository: ethereum/tests
path: ethtests
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install cross
run: cargo install cross
- name: Run Ethereum tests
run: |
cross run --target ${{matrix.target}} --profile ${{ matrix.profile }} -p revme -- statetest \
ethtests/GeneralStateTests/ \
ethtests/LegacyTests/Constantinople/GeneralStateTests/ \
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \
ethtests/EIPTests/StateTests/stEOF \
tests/eof_suite/eest/state_tests \
tests/eof_suite/evmone/state_tests \
tests/prague_suite/state_tests
- name: Run EOF validation tests
run: |
cross run --target ${{matrix.target}} --profile ${{ matrix.profile }} -p revme -- eof-validation \
ethtests/EOFTests \
tests/eof_suite/eest/eof_tests/prague \
tests/eof_suite/evmone/eof_tests