diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 463b43f..d236b6a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -35,10 +35,12 @@ jobs: - uses: taiki-e/install-action@nextest - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - - name: Build ev-reth + # Keep the profile and package selection aligned with nextest so dependencies are reused. + # The client E2E harness also supports target/debug/ev-reth. + - name: Build E2E node run: | for attempt in 1 2 3; do - cargo build --profile release --locked --bin ev-reth && exit 0 + cargo build --locked -p ev-reth -p ev-tests --bin ev-reth && exit 0 if [ "$attempt" = "3" ]; then exit 1 fi @@ -49,7 +51,7 @@ jobs: run: | cargo nextest run \ --locked \ - --workspace \ + -p ev-reth -p ev-tests \ -E "package(ev-tests)" \ --no-capture env: