Skip to content

Commit f3a548c

Browse files
committed
add flake check suites
- quick - formatting - slow - all rust toolchain dependent checks, for all toolchains - nightly - rust-toolchain.toml based toolchain tests - stable - rust-overlay's default stable toolchain tests - crane packages - msrv - rust 1.85.0 toolchain tests
1 parent 112521c commit f3a548c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

flake.nix

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,46 @@
266266
find "${src}" -name '*.sh' -print0 | xargs -0 shellcheck -x
267267
'';
268268
};
269+
270+
quick = checkSuite "quick" (
271+
with self.outputs.checks.${system};
272+
[
273+
shfmt
274+
shellcheck
275+
nix-fmt-check
276+
]
277+
);
278+
279+
slow = checkSuite "slow" (
280+
with self.outputs.checks.${system};
281+
[
282+
nightly
283+
stable
284+
msrv
285+
]
286+
);
287+
288+
nightly = checkSuite "nightly" (
289+
with self.outputs.checks.${system};
290+
[
291+
payjoin-workspace-nextest-nightly
292+
]
293+
);
294+
295+
stable = checkSuite "stable" (
296+
with self.outputs.checks.${system};
297+
[
298+
payjoin-workspace-nextest-stable
299+
]
300+
);
301+
302+
msrv = checkSuite "msrv" (
303+
with self.outputs.checks.${system};
304+
[
305+
payjoin-workspace-nextest-msrv
306+
]
307+
++ pkgs.lib.attrValues packages
308+
);
269309
};
270310
}
271311
);

0 commit comments

Comments
 (0)