Skip to content

Commit

Permalink
feat: Add cargo nextest to zk tests (#745)
Browse files Browse the repository at this point in the history
* Add cargo nextest to zk tests

* Enable nextest on foundry upstream test suite

* remove foundry test added by mistake
  • Loading branch information
Jrigada authored Nov 27, 2024
1 parent 825279c commit 27360d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 27360d4

Please sign in to comment.