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 <deirdre@zfnd.org>
This commit is contained in:
teor 2021-10-22 09:51:20 +10:00 committed by GitHub
parent 2de93bba8e
commit 35290db052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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