Skip to content

Commit

Permalink
Don't add vm-test.all and container-test.all jobs to the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Jul 10, 2024
1 parent e5f5f3f commit c1c2792
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1c2792

Please sign in to comment.