Skip to content

Commit f1227fb

Browse files
committed
Remove --no-tests=warn workarounds
1 parent 3bb82f0 commit f1227fb

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/cargo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
components: clippy
1818
- uses: Swatinem/rust-cache@v2
1919
- uses: taiki-e/install-action@cargo-nextest
20-
- run: cargo nextest run --no-tests=warn
20+
- run: cargo nextest run
2121
# Warn-only: this toolchain is rolling (not pinned), which may cause
2222
# unrelated PRs to start failing due to nightly containing new lints.
2323
# Nix clippy checks in ci.yml, which pins the toolchain via a flake.lock,

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fmt:
2020

2121
# Run tests via cargo-nextest
2222
test:
23-
cargo nextest run --no-tests=warn
23+
cargo nextest run
2424

2525
# Run clippy lints
2626
clippy:

nix/checks.nix

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
// {
3535
cargoArtifacts = deps;
3636
CARGO_PROFILE = profile;
37-
cargoNextestExtraArgs = "--no-tests=warn";
3837
}
3938
);
4039

@@ -59,12 +58,9 @@
5958
cargo-nextest
6059
];
6160
buildPhaseCargoCommand = ''
62-
cargo llvm-cov nextest --no-report --no-tests=warn --all-features
63-
6461
mkdir -p $out
65-
if [ -f target/llvm-cov-target/source.profdata ]; then
66-
cargo llvm-cov report --lcov --output-path $out/coverage.lcov --fail-under-regions 100
67-
fi
62+
cargo llvm-cov nextest --all-features --lcov --output-path $out/coverage.lcov
63+
cargo llvm-cov report --fail-under-regions 100
6864
'';
6965
installPhase = "true";
7066
}

0 commit comments

Comments
 (0)