We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5575384 commit 1345567Copy full SHA for 1345567
1 file changed
nix/checks.nix
@@ -28,7 +28,6 @@
28
strictDeps = true;
29
cargoArtifacts = deps;
30
CARGO_PROFILE = profile;
31
- cargoNextestExtraArgs = "--no-tests=warn";
32
};
33
34
testChecks = pkgs.lib.concatMapAttrs (
@@ -51,14 +50,7 @@
51
50
nativeBuildInputs = [ pkgs.cargo-llvm-cov ];
52
buildPhaseCargoCommand = ''
53
mkdir -p $out
54
- cargo llvm-cov --all-features --lcov --output-path $out/coverage.lcov || {
55
- # no coverage data when there are no tests yet
56
- if [ ! -s $out/coverage.lcov ]; then
57
- echo "no coverage data (no tests), skipping assertion"
58
- exit 0
59
- fi
60
- exit 1
61
- }
+ cargo llvm-cov --all-features --lcov --output-path $out/coverage.lcov
62
cargo llvm-cov report --fail-under-regions 100
63
'';
64
installPhase = "true";
0 commit comments