From 27360d4c8d12beddbb730dae07ad33a206b38f4b Mon Sep 17 00:00:00 2001 From: Juan Rigada <62958725+Jrigada@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:44:17 -0300 Subject: [PATCH] feat: Add cargo nextest to zk tests (#745) * Add cargo nextest to zk tests * Enable nextest on foundry upstream test suite * remove foundry test added by mistake --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c256070a3..e214bb025 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -110,6 +110,9 @@ jobs: with: toolchain: ${{ env.TARGET_RUST_VERSION }} + - name: Install cargo-nextest + uses: taiki-e/install-action@nextest + - name: Run era-test-node uses: dutterbutter/era-test-node-action@v1 with: @@ -124,7 +127,9 @@ jobs: env: RUST_BACKTRACE: full TEST_MAINNET_URL: http://localhost:8011 - run: git config --global user.name "test-runner" && ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo test zk + run: | + git config --global user.name "test-runner" + ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~zk)' check-ci-install: name: CI install