-
Notifications
You must be signed in to change notification settings - Fork 1
add bats based tests #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
25a1caa to
7f9a1bd
Compare
srid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this a nix flake check to obviate omnix's steps.custom?
This may be useful
I'll try. I assumed this sandboxing functionality would not work inside nix sandbox :) |
|
You may need |
yeah, although I think it's better to use impure-derivations |
|
btw. what do you use to format nix code? |
Sure
nixpkgs-fmt |
got it working with We'd need to set
ok, I'm getting diff on file I didn't change, should I format then in a separate commit? |
ok, so we could check if any of the checks or packages injested by devour-flake has __impure == true and if so, make devour-output.json impure as well. I can open a PR |
|
cool |
|
Could you merge from Note: no need for rebase in any PRs on my repos; I generally do a squash merge anyway. |
7f9a1bd to
49018ec
Compare
|
@srid all done, |
|
Issues with CI same as on master. Tests did succeed locally |
|
something is broken with CI on your repo, but I managed to run on my fork. Unfortunately there are multiple layers of failures:
Running outside the sandbox (with |
|
signoff failed in this repo as well. Disabled it for now. |
a26771a to
888cdf3
Compare
|
@srid CI is finally green. |
|
Ah, right. I've removed it 6c97965 |
ok, so I will try to add it to vira.hs and see if your runner will manage to build it. You'll need to add: |
to make sure sandboxing works as expected
with: nix run nixpkgs#nixpkgs-fmt -- $(fd '\..*nix')
888cdf3 to
96c100e
Compare
done |
|
not seeing any CI checks, but maybe you can see then on yours side? |
For PRs, I need to run manually until we have juspay/vira#292 in place |
Cool, btw. would love to learn more about vira. Could it be used instead of Hercules CI? Does it support "effects", or only does nix build? |




to make sure sandboxing works as expected
these run as part of top level
om ci, or can be ran individually with:the reason I've added this is that: