From 35290db0528e4787711f50321ac3578e1429b932 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 22 Oct 2021 09:51:20 +1000 Subject: [PATCH] Only run fake activation heights tests on zebra-state (#2929) Also only run the zebrad acceptance tests on macOS. Re-running the compiler and test binaries for unused crates is slow in CI. Co-authored-by: Deirdre Connolly --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 274cde03..e5ee55e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,8 @@ jobs: TEST_FAKE_ACTIVATION_HEIGHTS: with: command: test - args: --verbose --all -- with_fake_activation_heights + # Note: this only runs the zebra-state crate tests, because re-running all the test binaries is slow on Windows + args: --verbose --package zebra-state --lib -- with_fake_activation_heights # Explicitly run any tests that are usually #[ignored] @@ -86,7 +87,8 @@ jobs: uses: actions-rs/cargo@v1.0.3 with: command: test - args: --verbose --manifest-path zebrad/Cargo.toml sync_large_checkpoints_ -- --ignored + # Note: this only runs the zebrad acceptance tests, because re-running all the test binaries is slow on Windows + args: --verbose --package zebrad --test acceptance sync_large_checkpoints_ -- --ignored build-chain-no-features: name: Build (+${{ matrix.rust }}) zebra-chain w/o features on ubuntu-latest