1
0
Fork 0

run tests in hercules-ci

This commit is contained in:
ibizaman 2023-03-15 00:26:42 -07:00
parent c06760d458
commit f6ae51b12d
2 changed files with 18 additions and 0 deletions

View file

@ -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
```
### 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, in rough order of highest to lowest priority.

10
ci.nix Normal file
View file

@ -0,0 +1,10 @@
{
herculesCI = {...}: {
onPush.default = {
outputs = {...}: {
unit = (import ./default.nix {}).tests.unit;
integration = (import ./default.nix {}).tests.integration;
};
};
};
}