From c1c2792e5021ef5fb79c61df3bdbff57c756cf7c Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 9 Jul 2024 20:21:52 -0400 Subject: [PATCH] Don't add vm-test.all and container-test.all jobs to the matrix --- .github/workflows/matrix.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/matrix.sh b/.github/workflows/matrix.sh index 9262bd0fd..af0eb8e27 100755 --- a/.github/workflows/matrix.sh +++ b/.github/workflows/matrix.sh @@ -16,6 +16,8 @@ nix flake show --json --all-systems \ ' map(select(.[0][-1] == "type" and .[1] == "derivation") | .[0][0:-1] # Take each attribute name and drop `type` + | select(.[0:3] != ["hydraJobs", "vm-test", "all"]) # Skip the hydraJobs.vm-test.all jobs, which aggregate other jobs + | select(.[0:3] != ["hydraJobs", "container-test", "all"]) # Skip the hydraJobs.container-test.all jobs, which aggregate other jobs | select(.[-1] != "all") # Skip attributes which are `all` jobs, presumably combining other jobs | select(.[-1] | endswith("-aggregate") != true) # Skip attributes which end in `-aggregate`, because those just depend on other jobs which build them | select(.[0] == "hydraJobs") # Select the hydraJobs which are not typically run in CI