diff --git a/flake.nix b/flake.nix index fc0d27a..cf4f328 100644 --- a/flake.nix +++ b/flake.nix @@ -51,10 +51,15 @@ buildInputs = with pkgs; [ openssl ]; # Skip tests that require git in PATH (sandboxing issue) + # These tests run fine in dev environment and CI checkFlags = [ + # Unit tests that spawn git subprocesses "--skip=git::subprocess::tests::" "--skip=git::tests::" "--skip=purgatory::helpers::tests::" + # Integration tests that create git repos + "--skip=common::git_server::" + "--skip=common::purgatory_helpers::" ]; }; })) // { diff --git a/nix/module.nix b/nix/module.nix index 126473d..23b1561 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -19,10 +19,15 @@ let buildInputs = with pkgs; [ openssl ]; # Skip tests that require git in PATH (sandboxing issue) + # These tests run fine in dev environment and CI checkFlags = [ + # Unit tests that spawn git subprocesses "--skip=git::subprocess::tests::" "--skip=git::tests::" "--skip=purgatory::helpers::tests::" + # Integration tests that create git repos + "--skip=common::git_server::" + "--skip=common::purgatory_helpers::" ]; };