run tests in hercules-ci
This commit is contained in:
parent
c06760d458
commit
f6ae51b12d
2 changed files with 18 additions and 0 deletions
|
@ -161,6 +161,14 @@ disnixos-manifest -s services.nix -n network-virtualbox.nix -d distribution.nix
|
||||||
disnix-visualize /nix/store/cjiw9s257dpnvss2v6wm5a0iqx936hpq-manifest.xml | dot -Tpng > dot.png
|
disnix-visualize /nix/store/cjiw9s257dpnvss2v6wm5a0iqx936hpq-manifest.xml | dot -Tpng > dot.png
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Test Hercules CI locally
|
||||||
|
|
||||||
|
```bash
|
||||||
|
NIX_PATH="" nix-instantiate default.nix
|
||||||
|
```
|
||||||
|
|
||||||
|
See https://docs.hercules-ci.com/hercules-ci/getting-started/repository for more info.
|
||||||
|
|
||||||
# TODOs
|
# TODOs
|
||||||
|
|
||||||
Todos, in rough order of highest to lowest priority.
|
Todos, in rough order of highest to lowest priority.
|
||||||
|
|
10
ci.nix
Normal file
10
ci.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
herculesCI = {...}: {
|
||||||
|
onPush.default = {
|
||||||
|
outputs = {...}: {
|
||||||
|
unit = (import ./default.nix {}).tests.unit;
|
||||||
|
integration = (import ./default.nix {}).tests.integration;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue