diff options
Diffstat (limited to 'nix/module.nix')
| -rw-r--r-- | nix/module.nix | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/nix/module.nix b/nix/module.nix index 23b1561..1cbeb27 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
| @@ -18,17 +18,10 @@ let | |||
| 18 | nativeBuildInputs = with pkgs; [ pkg-config ]; | 18 | nativeBuildInputs = with pkgs; [ pkg-config ]; |
| 19 | buildInputs = with pkgs; [ openssl ]; | 19 | buildInputs = with pkgs; [ openssl ]; |
| 20 | 20 | ||
| 21 | # Skip tests that require git in PATH (sandboxing issue) | 21 | # Skip all integration tests during Nix build (require git in PATH) |
| 22 | # These tests run fine in dev environment and CI | 22 | # Integration tests run in dev environment and CI where git is available |
| 23 | checkFlags = [ | 23 | doCheck = true; |
| 24 | # Unit tests that spawn git subprocesses | 24 | cargoTestFlags = [ "--lib" ]; # Only run unit tests, skip integration tests |
| 25 | "--skip=git::subprocess::tests::" | ||
| 26 | "--skip=git::tests::" | ||
| 27 | "--skip=purgatory::helpers::tests::" | ||
| 28 | # Integration tests that create git repos | ||
| 29 | "--skip=common::git_server::" | ||
| 30 | "--skip=common::purgatory_helpers::" | ||
| 31 | ]; | ||
| 32 | }; | 25 | }; |
| 33 | 26 | ||
| 34 | # Per-instance options | 27 | # Per-instance options |