diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 16 |
1 files changed, 5 insertions, 11 deletions
| @@ -50,17 +50,11 @@ | |||
| 50 | 50 | ||
| 51 | buildInputs = with pkgs; [ openssl ]; | 51 | buildInputs = with pkgs; [ openssl ]; |
| 52 | 52 | ||
| 53 | # Skip tests that require git in PATH (sandboxing issue) | 53 | # Skip all integration tests during Nix build (require git in PATH) |
| 54 | # These tests run fine in dev environment and CI | 54 | # Integration tests run in dev environment and CI where git is available |
| 55 | checkFlags = [ | 55 | doCheck = true; |
| 56 | # Unit tests that spawn git subprocesses | 56 | cargoTestFlags = |
| 57 | "--skip=git::subprocess::tests::" | 57 | [ "--lib" ]; # Only run unit tests, skip integration tests |
| 58 | "--skip=git::tests::" | ||
| 59 | "--skip=purgatory::helpers::tests::" | ||
| 60 | # Integration tests that create git repos | ||
| 61 | "--skip=common::git_server::" | ||
| 62 | "--skip=common::purgatory_helpers::" | ||
| 63 | ]; | ||
| 64 | }; | 58 | }; |
| 65 | })) // { | 59 | })) // { |
| 66 | # NixOS module for deployment | 60 | # NixOS module for deployment |