mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
20 lines
553 B
Nix
20 lines
553 B
Nix
# run installed tests
|
|
import ./make-test.nix ({ pkgs, ... }:
|
|
|
|
{
|
|
name = "flatpak-builder";
|
|
meta = {
|
|
maintainers = pkgs.flatpak-builder.meta.maintainers;
|
|
};
|
|
|
|
machine = { pkgs, ... }: {
|
|
services.flatpak.enable = true;
|
|
environment.systemPackages = with pkgs; [ gnome-desktop-testing flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
|
|
virtualisation.diskSize = 2048;
|
|
};
|
|
|
|
testScript = ''
|
|
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.flatpak-builder.installedTests}/share' --timeout 3600");
|
|
'';
|
|
})
|