separate test declarations from invocations (#396)

see Fediversity/Fediversity#395 (comment)

Reviewed-on: Fediversity/Fediversity#396
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-06-19 18:11:08 +02:00 committed by kiara Grouwstra
parent d67f533948
commit 611c961dcf
4 changed files with 6 additions and 6 deletions

View file

@ -6,8 +6,8 @@
}: }:
{ {
tests = { tests = {
mastodon = import ./tests/mastodon.nix { inherit pkgs; }; mastodon = pkgs.nixosTest ./tests/mastodon.nix;
pixelfed-garage = import ./tests/pixelfed-garage.nix { inherit pkgs; }; pixelfed-garage = pkgs.nixosTest ./tests/pixelfed-garage.nix;
peertube = import ./tests/peertube.nix { inherit pkgs; }; peertube = pkgs.nixosTest ./tests/peertube.nix;
}; };
} }

View file

@ -42,7 +42,7 @@ let
''; '';
in in
pkgs.nixosTest { {
name = "mastodon"; name = "mastodon";
nodes = { nodes = {

View file

@ -161,7 +161,7 @@ let
''; '';
in in
pkgs.nixosTest { {
name = "peertube"; name = "peertube";
nodes = { nodes = {

View file

@ -114,7 +114,7 @@ let
${seleniumQuit}''; ${seleniumQuit}'';
in in
pkgs.nixosTest { {
name = "test-pixelfed-garage"; name = "test-pixelfed-garage";
nodes = { nodes = {