Loading nixos/tests/all-tests.nix +1 −1 Original line number Diff line number Diff line Loading @@ -1418,7 +1418,7 @@ in sharkey = runTest ./web-apps/sharkey.nix; shattered-pixel-dungeon = runTest ./shattered-pixel-dungeon.nix; shiori = runTest ./shiori.nix; shoko = runTest ./shoko.nix; shoko = import ./shoko.nix { inherit runTest; }; signal-desktop = runTest ./signal-desktop.nix; silverbullet = runTest ./silverbullet.nix; simple = runTest ./simple.nix; Loading nixos/tests/shoko.nix +47 −17 Original line number Diff line number Diff line { runTest }: { default = runTest ( { lib, ... }: { name = "Shoko"; Loading @@ -17,3 +22,28 @@ nanoyaki ]; } ); withPlugins = runTest ( { pkgs, lib, ... }: { name = "Shoko with plugins"; nodes.machine = { services.shoko = { enable = true; plugins = [ pkgs.luarenamer ]; }; }; testScript = '' machine.wait_for_unit("shoko.service") machine.wait_for_open_port(8111) machine.succeed("curl --fail http://localhost:8111") ''; meta.maintainers = with lib.maintainers; [ nanoyaki ]; } ); } pkgs/by-name/sh/shoko/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ buildDotnetModule (finalAttrs: { ]; }; tests.shoko = nixosTests.shoko; tests = { inherit (nixosTests) shoko; }; }; meta = { Loading Loading
nixos/tests/all-tests.nix +1 −1 Original line number Diff line number Diff line Loading @@ -1418,7 +1418,7 @@ in sharkey = runTest ./web-apps/sharkey.nix; shattered-pixel-dungeon = runTest ./shattered-pixel-dungeon.nix; shiori = runTest ./shiori.nix; shoko = runTest ./shoko.nix; shoko = import ./shoko.nix { inherit runTest; }; signal-desktop = runTest ./signal-desktop.nix; silverbullet = runTest ./silverbullet.nix; simple = runTest ./simple.nix; Loading
nixos/tests/shoko.nix +47 −17 Original line number Diff line number Diff line { runTest }: { default = runTest ( { lib, ... }: { name = "Shoko"; Loading @@ -17,3 +22,28 @@ nanoyaki ]; } ); withPlugins = runTest ( { pkgs, lib, ... }: { name = "Shoko with plugins"; nodes.machine = { services.shoko = { enable = true; plugins = [ pkgs.luarenamer ]; }; }; testScript = '' machine.wait_for_unit("shoko.service") machine.wait_for_open_port(8111) machine.succeed("curl --fail http://localhost:8111") ''; meta.maintainers = with lib.maintainers; [ nanoyaki ]; } ); }
pkgs/by-name/sh/shoko/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ buildDotnetModule (finalAttrs: { ]; }; tests.shoko = nixosTests.shoko; tests = { inherit (nixosTests) shoko; }; }; meta = { Loading