Explorar o código

ci: run tests when building with nix

sbatial %!s(int64=2) %!d(string=hai) anos
pai
achega
61bf30f742
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      flake.nix

+ 1 - 0
flake.nix

@@ -39,6 +39,7 @@
           # For `nix build` & `nix run`:
           default = naersk'.buildPackage {
             src = ./.;
+            doCheck = true; # run `cargo test` on build
           };
 
           # Run `nix build .#check` to check code