nix: split integration test
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Run NixOS test (push) Successful in 3m24s

For adding tests for fpkg.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-21 17:05:17 +09:00
parent c64b8163e7
commit 64b6dc41ba
6 changed files with 428 additions and 420 deletions

View File

@@ -57,18 +57,16 @@
;
in
{
check-formatting =
runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; }
''
cd ${./.}
formatting = runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; } ''
cd ${./.}
echo "running nixfmt..."
nixfmt --check .
echo "running nixfmt..."
nixfmt --check .
touch $out
'';
touch $out
'';
check-lint =
lint =
runCommandLocal "check-lint"
{
nativeBuildInputs = [
@@ -88,10 +86,7 @@
touch $out
'';
nixos-tests = callPackage ./test.nix {
inherit system self home-manager;
inherit (self.packages.${system}) fortify;
};
fortify = callPackage ./tests/fortify { inherit system self; };
}
);