File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments