test: separate app and sandbox
All checks were successful
Test / Create distribution (push) Successful in 26s
Test / Sandbox (push) Successful in 1m42s
Test / Fortify (push) Successful in 2m39s
Test / Sandbox (race detector) (push) Successful in 2m52s
Test / Fpkg (push) Successful in 3m37s
Test / Fortify (race detector) (push) Successful in 4m17s
Test / Flake checks (push) Successful in 1m6s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-30 22:03:48 +09:00
parent 89a05909a4
commit 297b444dfb
10 changed files with 248 additions and 58 deletions

View File

@@ -4,10 +4,6 @@
config,
...
}:
let
testProgram = pkgs.callPackage ./sandbox/tool/package.nix { inherit (config.environment.fortify.package) version; };
testCases = import ./sandbox/case lib testProgram;
in
{
users.users = {
alice = {
@@ -41,9 +37,6 @@ in
# For D-Bus tests:
libnotify
mako
# For checking seccomp outcome:
testProgram
];
variables = {
@@ -109,10 +102,6 @@ in
home-manager = _: _: { home.stateVersion = "23.05"; };
apps = [
testCases.preset
testCases.tty
testCases.mapuid
{
name = "ne-foot";
verbose = true;