Skip to content

Commit 7c2e8f1

Browse files
committed
nixos/matomo: migrate tests from handleTest to runTest
1 parent e9750c6 commit 7c2e8f1

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

nixos/tests/all-tests.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ in {
585585
mate = handleTest ./mate.nix {};
586586
mate-wayland = handleTest ./mate-wayland.nix {};
587587
matter-server = handleTest ./matter-server.nix {};
588-
matomo = handleTest ./matomo.nix {};
588+
matomo = runTest ./matomo.nix;
589589
matrix-appservice-irc = runTest ./matrix/appservice-irc.nix;
590590
matrix-conduit = handleTest ./matrix/conduit.nix {};
591591
matrix-synapse = handleTest ./matrix/synapse.nix {};

nixos/tests/matomo.nix

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1+
{ lib, ... }:
12
{
2-
system ? builtins.currentSystem,
3-
config ? { },
4-
pkgs ? import ../.. { inherit system config; },
5-
}:
6-
7-
with import ../lib/testing-python.nix { inherit system pkgs; };
8-
9-
makeTest {
103
name = "matomo";
114

125
nodes.machine =
@@ -54,12 +47,12 @@ makeTest {
5447
'';
5548

5649
meta.maintainers =
57-
with pkgs.lib.maintainers;
50+
with lib.maintainers;
5851
[
5952
florianjacob
6053
mmilata
6154
twey
6255
boozedog
6356
]
64-
++ pkgs.lib.teams.flyingcircus.members;
57+
++ lib.teams.flyingcircus.members;
6558
}

0 commit comments

Comments
 (0)