feat: move tests to template

This commit is contained in:
eric
2026-03-04 05:09:38 +01:00
parent e686663bd3
commit 1549f7637b

View File

@@ -54,6 +54,12 @@
}; };
additionalHooks = { additionalHooks = {
tests = {
enable = true;
entry = "echo 'No tests defined yet.'"; # replace with your test command
pass_filenames = false;
stages = [ "pre-push" ];
};
# my-hook = { # my-hook = {
# enable = true; # enable = true;
# entry = "${pkgs.some-tool}/bin/some-tool"; # entry = "${pkgs.some-tool}/bin/some-tool";