Fix coverage job on self-hosted runners by installing nextest. (#39895)

`./mach test-unit` now requires nextest.
`./mach bootstrap` is skipped on self-hosted runners, which don't have
nextest installed yet, so we need to install it manually. The action is
also much faster than installing from source, so this also benefits the
github-hosted coverage job.

Testing: Not needed, this just installs another tool in CI.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender
2025-10-15 14:14:08 +02:00
committed by GitHub
parent abbb675ee5
commit 6d0db7d623

View File

@@ -401,7 +401,7 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
tool: cargo-llvm-cov,cargo-nextest
- name: Bootstrap dependencies
if: ${{ runner.environment != 'self-hosted' }}
shell: bash