From 2f36a11a8eee8bfe723d323aee6b887435bfd138 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 18 Oct 2022 15:08:48 +0200 Subject: [PATCH] use short flag for nix build test Signed-off-by: Kristoffer Dalby --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index f7d0c669..6775e9cb 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,9 @@ version = headscaleVersion; src = pkgs.lib.cleanSource self; + # Only run unit tests when testing a build + checkFlags = ["-short"]; + # When updating go.mod or go.sum, a new sha will need to be calculated, # update this if you have a mismatch after doing a change to thos files. vendorSha256 = "sha256-DosFCSiQ5FURbIrt4NcPGkExc84t2MGMqe9XLxNHdIM=";