radicale: Also run NixOS test on Python 3
This commit is contained in:
parent
9821f82d7c
commit
a3143b18e0
@ -58,10 +58,19 @@ in import ./make-test.nix {
|
|||||||
radicaleOverlay
|
radicaleOverlay
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
py3 = { config, pkgs, ... }@args: (common args) // {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
python = self.python3;
|
||||||
|
pythonPackages = self.python3.pkgs;
|
||||||
|
})
|
||||||
|
radicaleOverlay
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
for my $machine ($py2) {
|
for my $machine ($py2, $py3) {
|
||||||
$machine->waitForUnit('radicale.service');
|
$machine->waitForUnit('radicale.service');
|
||||||
$machine->waitForOpenPort(${builtins.toString port});
|
$machine->waitForOpenPort(${builtins.toString port});
|
||||||
$machine->succeed('curl -s http://someuser:really_secret_password@127.0.0.1:${builtins.toString port}/someuser/calendar.ics/');
|
$machine->succeed('curl -s http://someuser:really_secret_password@127.0.0.1:${builtins.toString port}/someuser/calendar.ics/');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user