Skip to content

Commit afc7c4b

Browse files
committed
Remove cardano-chain-gen:test:cardano-chain-gen from macos required checks
1 parent e9bbef6 commit afc7c4b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

flake.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,24 @@
154154

155155
hydraJobs =
156156
let
157-
nonRequiredPaths = [
158-
".*musl\\.devShells\\..*"
157+
# TODO: macOS builders are resource-constrained and cannot run the detabase
158+
# integration tests. Add these back when we get beefier builders.
159+
nonRequiredMacOSPaths = [
160+
"checks.cardano-chain-gen:test:cardano-chain-gen"
161+
"ghc927.checks.cardano-chain-gen:test:cardano-chain-gen"
159162
];
163+
164+
nonRequiredPaths =
165+
if hostPlatform.isMacOS then
166+
nonRequiredMacOSPaths
167+
else [];
168+
160169
in
161170
pkgs.callPackages iohkNix.utils.ciJobsAggregates
162171
{
163172
inherit ciJobs;
164-
nonRequiredPaths = map (r: p: builtins.match r p != null) nonRequiredPaths;
173+
nonRequiredPaths = map lib.hasPrefix nonRequiredPaths;
165174
} // ciJobs;
166-
167175
}) // {
168176

169177
# allows precise paths (avoid fallbacks) with nix build/eval:

0 commit comments

Comments
 (0)