this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: stop building tests in nix build .#cmprss

+5 -2
+5 -2
flake.nix
··· 81 81 cargoArtifacts = craneLib.buildDepsOnly commonArgs; 82 82 83 83 # Build the actual crate itself, reusing the cargoArtifacts 84 - cmprss = craneLib.buildPackage (commonArgs // {meta.mainProgram = "cmprss";}); 84 + cmprss = craneLib.buildPackage (commonArgs 85 + // { 86 + doCheck = false; # Tests are run as a separate build with nextest 87 + meta.mainProgram = "cmprss"; 88 + }); 85 89 in { 86 90 checks = { 87 91 # Build the crate as part of `nix flake check` for convenience ··· 100 104 fmt = craneLib.cargoFmt commonArgs; 101 105 102 106 # Run tests with cargo-nextest 103 - # Note: This provides limited value, as tests are already run in the build 104 107 nextest = craneLib.cargoNextest commonArgs; 105 108 }; 106 109