mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
19 lines
370 B
Nix
19 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'")
|
||
|
'';
|
||
|
}
|
||
|
)
|