diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-03-15 05:27:52 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-03-15 05:27:52 +0100 |
commit | 99d1fc2246af3be4ded31c44b9436d2d1c3886b7 (patch) | |
tree | 38447fc5f114fbd45ca1c5166a692312c25e6f84 | |
parent | 24b0003cb8471b0bec95551c05d5cbbcb6e2af9c (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>
-rw-r--r-- | lib/get-tests.nix | 5 | ||||
-rw-r--r-- | release.nix | 1 |
2 files changed, 4 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"); } diff --git a/release.nix b/release.nix index fc33466b..647a1e19 100644 --- a/release.nix +++ b/release.nix @@ -42,6 +42,7 @@ let allTests = import ./lib/get-tests.nix ({ inherit system nixpkgs; + excludeVuizvuiGames = true; } // pkgsUpstream.lib.optionalAttrs (vuizvuiSrc != null) { vuizvuiTests = "${vuizvui}/tests"; }); |