From e41e4beddc2e6343bf3fb59a51c875fed75d8c8c Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Sat, 6 Jul 2024 19:12:34 -0500 Subject: [PATCH] distinguish between nightly and rest --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4efd92fb..50053b5f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -58,6 +58,10 @@ jobs: - run: cd rust && cargo build - run: cd rust && cargo test + if: ${{ matrix.toolchain != 'nightly' }} + + - run: cd rust && cargo test + if: ${{ matrix.toolchain == 'nightly' }} env: CARGO_INCREMENTAL: '0' RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'