about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-03-15 05:27:52 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-03-15 05:27:52 +0100
commit99d1fc2246af3be4ded31c44b9436d2d1c3886b7 (patch)
tree38447fc5f114fbd45ca1c5166a692312c25e6f84 /lib
parent24b0003cb8471b0bec95551c05d5cbbcb6e2af9c (diff)
release.nix: Exclude game tests from Hydra jobs
We can't possibly test those on Hydra, so let's exclude them from the
release.nix.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/get-tests.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/get-tests.nix b/lib/get-tests.nix
index 08fc9475..2f78f58c 100644
--- a/lib/get-tests.nix
+++ b/lib/get-tests.nix
@@ -1,6 +1,7 @@
 { system ? builtins.currentSystem
 , nixpkgs ? import ../nixpkgs-path.nix
 , vuizvuiTests ? ../tests
+, excludeVuizvuiGames ? false
 }:
 
 with import "${nixpkgs}/lib";
@@ -16,7 +17,7 @@ with import "${nixpkgs}/lib";
     reduce = attr: if isTestOrJob attr then attr else attr.${system};
   in mapAttrsRecursiveCond cond (path: reduce) upstreamTests;
 
-  vuizvui = import vuizvuiTests {
+  vuizvui = removeAttrs (import vuizvuiTests {
     inherit system;
-  };
+  }) (optional excludeVuizvuiGames "games");
 }