From 9ce2f87240aa643dace43e2817e7b24b7b355660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 11 Jun 2025 09:10:33 +0200 Subject: [PATCH] Add testing section to README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 47e79c9..a387b3c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,27 @@ $ ./targets/nixos-wiki.nixos.org/tf.sh apply $ ./targets/nixos-wiki.nixos.org/deploy.sh ``` +## Testing + +Run NixOS VM integration tests to verify configuration: + +``` +$ nix build .#checks.x86_64-linux.test --log-format bar-with-logs +``` + +Format code: + +``` +$ nix fmt +``` + +Run link health checks: + +``` +$ nix develop .#linkcheck +$ ./checks/linkcheck/lychee.sh +``` + ## FAQ: ### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission.