diff options
| -rw-r--r-- | flake.nix | 5 | ||||
| -rw-r--r-- | nix/module.nix | 5 |
2 files changed, 10 insertions, 0 deletions
| @@ -51,10 +51,15 @@ | |||
| 51 | buildInputs = with pkgs; [ openssl ]; | 51 | buildInputs = with pkgs; [ openssl ]; |
| 52 | 52 | ||
| 53 | # Skip tests that require git in PATH (sandboxing issue) | 53 | # Skip tests that require git in PATH (sandboxing issue) |
| 54 | # These tests run fine in dev environment and CI | ||
| 54 | checkFlags = [ | 55 | checkFlags = [ |
| 56 | # Unit tests that spawn git subprocesses | ||
| 55 | "--skip=git::subprocess::tests::" | 57 | "--skip=git::subprocess::tests::" |
| 56 | "--skip=git::tests::" | 58 | "--skip=git::tests::" |
| 57 | "--skip=purgatory::helpers::tests::" | 59 | "--skip=purgatory::helpers::tests::" |
| 60 | # Integration tests that create git repos | ||
| 61 | "--skip=common::git_server::" | ||
| 62 | "--skip=common::purgatory_helpers::" | ||
| 58 | ]; | 63 | ]; |
| 59 | }; | 64 | }; |
| 60 | })) // { | 65 | })) // { |
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 | |||
| 19 | buildInputs = with pkgs; [ openssl ]; | 19 | buildInputs = with pkgs; [ openssl ]; |
| 20 | 20 | ||
| 21 | # Skip tests that require git in PATH (sandboxing issue) | 21 | # Skip tests that require git in PATH (sandboxing issue) |
| 22 | # These tests run fine in dev environment and CI | ||
| 22 | checkFlags = [ | 23 | checkFlags = [ |
| 24 | # Unit tests that spawn git subprocesses | ||
| 23 | "--skip=git::subprocess::tests::" | 25 | "--skip=git::subprocess::tests::" |
| 24 | "--skip=git::tests::" | 26 | "--skip=git::tests::" |
| 25 | "--skip=purgatory::helpers::tests::" | 27 | "--skip=purgatory::helpers::tests::" |
| 28 | # Integration tests that create git repos | ||
| 29 | "--skip=common::git_server::" | ||
| 30 | "--skip=common::purgatory_helpers::" | ||
| 26 | ]; | 31 | ]; |
| 27 | }; | 32 | }; |
| 28 | 33 | ||