mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Explain hci effect tests
This commit is contained in:
parent
985c55dce2
commit
ca41a1b69b
2 changed files with 16 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
nativeBuildInputs = [
|
||||
pkgs.nixpkgs-fmt
|
||||
pkgs.pre-commit
|
||||
pkgs.hci
|
||||
];
|
||||
shellHook = ''
|
||||
${config.pre-commit.installationScript}
|
||||
|
|
15
dev/tests/README.md
Normal file
15
dev/tests/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
# Running the tests
|
||||
|
||||
These tests can be run locally with the `hci effect run` command. This gives
|
||||
the tests access to a proper nix daemon and the network.
|
||||
|
||||
Designed for convenient deployments, it needs some information from git. You
|
||||
may use `--no-token` to disable this functionality if you're getting errors, or
|
||||
if you're asked to log in.
|
||||
|
||||
Example:
|
||||
|
||||
```console
|
||||
hci effect run --no-token default.effects.tests.template
|
||||
```
|
Loading…
Reference in a new issue