mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests: add tests package to search / run tests
One of the most annoying things is finding the test you want to run and executing it, manually. Created a python script to leverage fuzzy finding our available test outputs to execute with the CI commands. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
88913c98fe
commit
bf2dc7ebd8
2 changed files with 210 additions and 0 deletions
|
|
@ -80,6 +80,10 @@
|
|||
./modules/misc/news/create-news-entry.sh
|
||||
'';
|
||||
|
||||
tests = pkgs.writeShellScriptBin "tests" ''
|
||||
exec ${pkgs.python3}/bin/python3 ${self}/tests/tests.py "$@"
|
||||
'';
|
||||
|
||||
docs-html = docs.manual.html;
|
||||
docs-htmlOpenTool = docs.manual.htmlOpenTool;
|
||||
docs-json = docs.options.json;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue