Skip to content

Commit

Permalink
re-enable state tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thegaram committed Oct 1, 2024
1 parent 55a3ea3 commit 92b949c
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,31 @@ jobs:
--partition hash:${{ matrix.partition }}/2 \
-E "!kind(test)"
# state:
# name: Ethereum state tests
# runs-on: ubuntu-latest
# env:
# RUST_LOG: info,sync=error
# RUST_BACKTRACE: 1
# timeout-minutes: 30
# steps:
# - uses: actions/checkout@v4
# - name: Checkout ethereum/tests
# uses: actions/checkout@v4
# with:
# repository: ethereum/tests
# ref: 1c23e3c27ac53b794de0844d2d5e19cd2495b9d8
# path: testing/ef-tests/ethereum-tests
# submodules: recursive
# fetch-depth: 1
# - uses: dtolnay/rust-toolchain@stable
# - uses: taiki-e/install-action@nextest
# - uses: Swatinem/rust-cache@v2
# with:
# cache-on-failure: true
# - run: cargo nextest run --release -p ef-tests --features "asm-keccak ef-tests"
state:
name: Ethereum state tests
runs-on: ubuntu-latest
env:
RUST_LOG: info,sync=error
RUST_BACKTRACE: 1
timeout-minutes: 30
steps:
- name: Free up space
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v4
- name: Checkout ethereum/tests
uses: actions/checkout@v4
with:
repository: ethereum/tests
ref: 1c23e3c27ac53b794de0844d2d5e19cd2495b9d8
path: testing/ef-tests/ethereum-tests
submodules: recursive
fetch-depth: 1
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo nextest run --release -p ef-tests --features "asm-keccak ef-tests"

doc:
name: doc tests (${{ matrix.network }})
Expand All @@ -91,7 +93,7 @@ jobs:
name: unit success
runs-on: ubuntu-latest
if: always()
needs: [test, doc]
needs: [test, state, doc]
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down

0 comments on commit 92b949c

Please sign in to comment.