2 system ? builtins.currentSystem,
4 pkgs ? import ../.. { inherit system config; },
7 with import ../lib/testing-python.nix { inherit system pkgs; };
17 { config, pkgs, ... }:
29 package = pkgs.mariadb;
31 services.nginx.enable = true;
36 machine.wait_for_unit("mysql.service")
37 machine.wait_for_unit("phpfpm-matomo.service")
38 machine.wait_for_unit("nginx.service")
40 # without the grep the command does not produce valid utf-8 for some reason
41 with subtest("welcome screen loads"):
43 "curl -sSfL http://localhost/ | grep '<title>Matomo[^<]*Installation'"
49 matomo = matomoTest pkgs.matomo // {
51 meta.maintainers = with maintainers; [
58 matomo-beta = matomoTest pkgs.matomo-beta // {
60 meta.maintainers = with maintainers; [
67 matomo_5 = matomoTest pkgs.matomo_5 // {
77 ++ lib.teams.flyingcircus.members;