diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d2277e49..7352a16f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -320,7 +320,11 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: cargo test --workspace --release + - env: + # Support incremental compilation here to not penalize CI compile times too much. + CARGO_PROFILE_RELEASE_INCREMENTAL: true + CARGO_PROFILE_RELEASE_LTO: false + run: cargo test --workspace --release test-miri: name: Test with Miri runs-on: ubuntu-latest