1
0
Fork 0
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:
Robert Hensing 2022-11-13 12:25:22 +01:00
parent 985c55dce2
commit ca41a1b69b
2 changed files with 16 additions and 0 deletions

View file

@ -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
View 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
```