ci/check: drop "tests"; they're handled by ci/tests

This commit is contained in:
Matt Sturgeon 2025-05-29 00:13:15 +01:00
parent 801de78836
commit 1b25700ae3
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -52,15 +52,17 @@
} }
)) ))
(lib.collect (lib.isType "check")) (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.groupBy' (builds: x: builds ++ [ x.build ]) [ ] (x: x.name))
(lib.mapAttrsToList (name: builds: { inherit name builds; })) (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? # TODO: this is very heavy handed, maybe we want some exceptions?
(map ( (map (
matrix: matrix:
matrix matrix
// lib.optionalAttrs (!lib.strings.hasPrefix "test-" matrix.name) { // {
builds = [ builds = [
(getPrimaryBuild matrix.builds) (getPrimaryBuild matrix.builds)
]; ];