mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-05-14 01:20:15 +08:00
unit-test: convert to shell app
I saw the exit status in ci was actually ignored.
This commit is contained in:
parent
39c667d73c
commit
0809aa0ae7
3 changed files with 17 additions and 26 deletions
|
|
@ -147,13 +147,16 @@
|
|||
nix --extra-experimental-features "nix-command flakes" hash path ./dev/private | tr -d '\n' > ./dev/private.narHash
|
||||
''}";
|
||||
};
|
||||
unit-tests = {
|
||||
type = "app";
|
||||
program = "${pkgs.callPackage ./pkgs/unit-tests.nix { }}/bin/unit-tests";
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
devShells = eachSystem (
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
unit-tests = pkgs.callPackage ./pkgs/unit-tests.nix { };
|
||||
default = pkgs.callPackage ./shell.nix { };
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue