Skip to content

Commit

Permalink
CI: On Nightly toolchains, test the benchmarks instead of just buildi…
Browse files Browse the repository at this point in the history
…ng 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).
  • Loading branch information
briansmith committed Oct 23, 2022
1 parent 2ec38ad commit 8488320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8488320

Please sign in to comment.