github: install and use nextest for GHA

Our workload is pretty CPU bound, but `nextest` does seem to make a small ~5s
difference for me. Let's see how it works on the CI runners.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2025-01-07 17:18:48 -06:00
parent fe9ea505b6
commit 664ba1a997

View file

@ -73,12 +73,16 @@ jobs:
uses: dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
with:
toolchain: 1.76
- uses: taiki-e/install-action@08d473f7b2bf2e092f4c5bd3812b23ed7253f2c9
with:
tool: nextest
- name: Build
run: cargo build --workspace --all-targets --verbose ${{ matrix.cargo_flags }}
- name: Test
run: cargo test --workspace --all-targets --verbose ${{ matrix.cargo_flags }}
run: cargo nextest run --workspace --all-targets --verbose ${{ matrix.cargo_flags }}
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
build-no-git:
name: Build jj-lib without Git support