diff --git a/README.md b/README.md index a27b653..70a5454 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/ci.nix b/ci.nix new file mode 100644 index 0000000..dc8e079 --- /dev/null +++ b/ci.nix @@ -0,0 +1,10 @@ +{ + herculesCI = {...}: { + onPush.default = { + outputs = {...}: { + unit = (import ./default.nix {}).tests.unit; + integration = (import ./default.nix {}).tests.integration; + }; + }; + }; +}