From 1b25700ae36df1da162020abf3a39416235815ef Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Thu, 29 May 2025 00:13:15 +0100 Subject: [PATCH] ci/check: drop "tests"; they're handled by ci/tests --- flake/dev/tests.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake/dev/tests.nix b/flake/dev/tests.nix index c8283546..514e5ba8 100644 --- a/flake/dev/tests.nix +++ b/flake/dev/tests.nix @@ -52,15 +52,17 @@ } )) (lib.collect (lib.isType "check")) + # Tests are handled by a different workflow + (builtins.filter (x: !lib.strings.hasPrefix "test-" x.name)) (lib.groupBy' (builds: x: builds ++ [ x.build ]) [ ] (x: x.name)) (lib.mapAttrsToList (name: builds: { inherit name builds; })) - # Only build one one system for non-test attrs + # Only build one one system per check # TODO: this is very heavy handed, maybe we want some exceptions? (map ( matrix: matrix - // lib.optionalAttrs (!lib.strings.hasPrefix "test-" matrix.name) { + // { builds = [ (getPrimaryBuild matrix.builds) ];