nix-community.nixvim/flake/dev/tests.nix
Matt Sturgeon f57d629bb0
ci/check: init
Adds a "check" CI workflow to replace buildbot.

Uses nix-community/nix-github-actions to generate a job matrix as a
`githubActions.matrix` flake output. This allows more customisation than
simply building _all_ `checks`.
2025-05-25 17:19:58 +01:00

20 lines
313 B
Nix

{
self,
inputs,
helpers,
...
}:
{
perSystem =
{ pkgs, ... }:
{
checks = pkgs.callPackages ../../tests {
inherit helpers self;
};
};
# Output a build matrix for CI
flake.githubActions = inputs.nix-github-actions.lib.mkGithubMatrix {
inherit (self) checks;
};
}