chore(dev/tests): port to nix-unit
This commit is contained in:
parent
fc145db8c6
commit
a2c4a4a4e9
2 changed files with 426 additions and 0 deletions
|
|
@ -42,6 +42,8 @@
|
|||
let tests = import ./tests/eval-tests.nix { flake-parts = self; };
|
||||
in tests.runTests pkgs.emptyFile // { internals = tests; };
|
||||
|
||||
nix-unit.tests = import ./tests/nix-unit.nix { flake-parts = self; };
|
||||
|
||||
# nix-unit evaluates the flake, which triggers the dev partition via
|
||||
# flake-compat, requiring network to fetch dev inputs.
|
||||
nix-unit.allowNetwork = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue