mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
18 lines
370 B
Nix
18 lines
370 B
Nix
import ./make-test-python.nix (
|
|
{ lib, ... }:
|
|
{
|
|
name = "actual";
|
|
meta.maintainers = [ lib.maintainers.oddlama ];
|
|
|
|
nodes.machine =
|
|
{ ... }:
|
|
{
|
|
services.actual.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_open_port(3000)
|
|
machine.succeed("curl -fvvv -Ls http://localhost:3000/ | grep 'Actual'")
|
|
'';
|
|
}
|
|
)
|