Merge pull request #153 from ryantm/rtm-2-18-test-docs

contrib: add instructions for running the tests
This commit is contained in:
Ryan Mulligan 2023-02-18 21:50:37 -08:00 committed by GitHub
commit 2c56a93426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -563,6 +563,22 @@ out for simplicity in `age`.
* Use `nix fmt` to format nix code * Use `nix fmt` to format nix code
### Tests
You can run the tests with
```ShellSession
nix flake check
```
You can run the integration tests in interactive mode like this:
```ShellSession
nix run .#checks.x86_64-linux.integration.driverInteractive
```
After it starts, enter `run_tests()` to run the tests.
## Acknowledgements ## Acknowledgements
This project is based off of [sops-nix](https://github.com/Mic92/sops-nix) created Mic92. Thank you to Mic92 for inspiration and advice. This project is based off of [sops-nix](https://github.com/Mic92/sops-nix) created Mic92. Thank you to Mic92 for inspiration and advice.