Closed srid closed 2 weeks ago
Building derivations is just one part of CI.
Sometimes, we want to test things outside of the build lifecycle. For eg., in omnix, we want to also
omnix
nix run
nix develop -c cargo test
How can we support this in nixci, so that the above two scenarios run as part of nixci build (or, om ci?)?
nixci
nixci build
om ci
(This would naturally propagate to any tools built on top of nixci; example).
In omnix, we do two more steps because they are not done by nixci:
Aside: https://github.com/pipelight/pipelight
This will be done as part of om ci (nixci ng):
https://github.com/juspay/omnix/issues/198
Building derivations is just one part of CI.
Sometimes, we want to test things outside of the build lifecycle. For eg., in
omnix
, we want to alsonix run
) for the CLI to see that it behaves as one would expect, at least in basic cases, ornix develop -c cargo test
) to sidestep Nix sandboxing limitationsHow can we support this in
nixci
, so that the above two scenarios run as part ofnixci build
(or,om ci
?)?(This would naturally propagate to any tools built on top of nixci; example).