Skip to content

Commit 9863e24

Browse files
committed
ci: filter out test-N checks for now
1 parent f94d952 commit 9863e24

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

flake/dev/tests.nix

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
# Output a build matrix for CI
1818
flake.githubActions = inputs.nix-github-actions.lib.mkGithubMatrix {
1919
checks = builtins.mapAttrs (
20-
system:
21-
lib.flip lib.pipe [
22-
lib.attrsToList
23-
# Group the "test-N" tests back into one drv
24-
# FIXME: drop the entire test-grouping system
25-
(builtins.groupBy ({ name, value }: if lib.strings.hasPrefix "test-" name then "test" else name))
26-
(builtins.mapAttrs (
27-
group: tests:
28-
let
29-
pkgs = inputs.nixpkgs.legacyPackages.${system};
30-
singleton = (builtins.head tests).value;
31-
joined = pkgs.linkFarm group (builtins.listToAttrs tests);
32-
in
33-
if builtins.length tests > 1 then joined else singleton
34-
))
35-
]
20+
system: lib.filterAttrs (name: v: !lib.strings.hasPrefix "test-" name)
21+
# lib.flip lib.pipe [
22+
# lib.attrsToList
23+
# # Group the "test-N" tests back into one drv
24+
# # FIXME: drop the entire test-grouping system
25+
# (builtins.groupBy ({ name, value }: if lib.strings.hasPrefix "test-" name then "test" else name))
26+
# (builtins.mapAttrs (
27+
# group: tests:
28+
# let
29+
# pkgs = inputs.nixpkgs.legacyPackages.${system};
30+
# singleton = (builtins.head tests).value;
31+
# joined = pkgs.linkFarm group (builtins.listToAttrs tests);
32+
# in
33+
# if builtins.length tests > 1 then joined else singleton
34+
# ))
35+
# ]
3636
) self.checks;
3737
};
3838
}

0 commit comments

Comments
 (0)