From c602dc4ffb6fac422ff09218fcc26f30d074586a Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Sat, 18 Feb 2023 18:37:43 -0800 Subject: [PATCH] contrib: add instructions for running the tests --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index e1e6be2..3381e7e 100644 --- a/README.md +++ b/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.