mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 01:30:48 +03:00
contrib: add instructions for running the tests
This commit is contained in:
parent
78a22dbc0d
commit
c602dc4ffb
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -563,6 +563,22 @@ out for simplicity in `age`.
|
|||
* 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
|
||||
|
||||
This project is based off of [sops-nix](https://github.com/Mic92/sops-nix) created Mic92. Thank you to Mic92 for inspiration and advice.
|
||||
|
|
Loading…
Reference in a new issue