Add testing section to README

This commit is contained in:
Jörg Thalheim 2025-06-11 09:10:33 +02:00 committed by Jörg Thalheim
parent 0db44303f5
commit 9ce2f87240

View File

@ -56,6 +56,27 @@ $ ./targets/nixos-wiki.nixos.org/tf.sh apply
$ ./targets/nixos-wiki.nixos.org/deploy.sh $ ./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: ## FAQ:
### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission. ### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission.