From 84883207b97a4b2d83186a1fc2a992b7fb67fccb Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sat, 22 Oct 2022 23:08:31 -0700 Subject: [PATCH] CI: On Nightly toolchains, test the benchmarks instead of just building them. `cargo test` will run one iteration of each benchmark to provide evidence that they don't fail in an obvious way (e.g. unintended panics). --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3ff57697..0bcfe33f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,7 +61,7 @@ jobs: - run: cargo test --features=std - run: cargo test --features=custom # custom should do nothing here - if: ${{ matrix.toolchain == 'nightly' }} - run: cargo build --benches + run: cargo test --benches linux-tests: name: Additional Linux targets