feat: move tests to template
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user