checks: init
This commit is contained in:
parent
13171b7657
commit
65f7730c45
4 changed files with 11 additions and 1 deletions
|
@ -119,6 +119,8 @@
|
||||||
|
|
||||||
packages = forSystems (system: depot.${system}.packages);
|
packages = forSystems (system: depot.${system}.packages);
|
||||||
|
|
||||||
|
checks = forSystems (system: depot.${system}.checks);
|
||||||
|
|
||||||
devShells = forSystems (system: depot.${system}.devShells);
|
devShells = forSystems (system: depot.${system}.devShells);
|
||||||
|
|
||||||
effects = { branch, ... }: mkDeployEffects branch deployableNixosHosts;
|
effects = { branch, ... }: mkDeployEffects branch deployableNixosHosts;
|
||||||
|
|
|
@ -12,5 +12,5 @@ in {
|
||||||
filters ? "${name}" -> builtins.elem system filters."${name}"
|
filters ? "${name}" -> builtins.elem system filters."${name}"
|
||||||
) all;
|
) all;
|
||||||
|
|
||||||
inherit (projects) devShells;
|
inherit (projects) devShells checks;
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,6 +67,8 @@ in
|
||||||
stevenblack-hosts = pkgs.callPackage ./data/stevenblack { inherit pins; };
|
stevenblack-hosts = pkgs.callPackage ./data/stevenblack { inherit pins; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checks = import ./tests { inherit inputs pkgs system; };
|
||||||
|
|
||||||
devShells = {
|
devShells = {
|
||||||
default = let
|
default = let
|
||||||
flakePkgs = inputs.self.packages.${system};
|
flakePkgs = inputs.self.packages.${system};
|
||||||
|
|
6
packages/tests/default.nix
Normal file
6
packages/tests/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ inputs, pkgs, system }:
|
||||||
|
let
|
||||||
|
inherit (pkgs) nixosTest;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
}
|
Loading…
Reference in a new issue