Merge pull request #158 from sablier-labs/iaro/clippy-issue-on-main #216
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
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/ \ | |