-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: replace ethtest job with eest workflow
- Loading branch information
Showing
2 changed files
with
62 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Runs Ethereum execution spec tests (EEST). | ||
# | ||
# To add a new EEST test suite to the workflow, add the following: | ||
# | ||
# - The tag for the release | ||
# - The name of the release artifact (e.g. `fixtures.tar.gz`) | ||
# | ||
# The workflow will download each suite in parallel in a matrix, and run the blockchain tests and blockchain engine tests inside. | ||
# | ||
# The workflow will not run state tests, these are deferred to revm. | ||
|
||
name: eest | ||
|
||
on: | ||
pull_request: | ||
merge_group: | ||
push: | ||
branches: [main, onbjerg/eest] # todo: temp | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# build reest | ||
# save to cache | ||
setup: | ||
runs-on: | ||
group: Reth | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
cache-on-failure: true | ||
|
||
# restore reest from cache | ||
# download fixtures, untar | ||
# run with reest | ||
test: | ||
name: test (${{ matrix.tag }}, ${{ matrix.type }}) | ||
needs: setup | ||
runs-on: | ||
group: Reth | ||
strategy: | ||
matrix: | ||
type: ["blockchain_tests", "blockchain_tests_engine"] | ||
include: | ||
- tag: "v3.0.0" | ||
artifact: "fixtures_stable.tar.gz" | ||
- tag: "[email protected]" | ||
artifact: "fixtures_pectra-devnet-4.tar.gz" | ||
steps: | ||
- run: | | ||
wget https://github.com/ethereum/execution-spec-tests/releases/download/${{ matrix.tag }}/${{ matrix.artifact }} | ||
tar -xvzf ${{ matrix.artifact }} | ||
rm ${{ matrix.artifact }} | ||
ls fixtures/${{ matrix.type }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters