-
Notifications
You must be signed in to change notification settings - Fork 136
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
Update scaffolding bats integration tests #3761
base: develop
Are you sure you want to change the base?
Update scaffolding bats integration tests #3761
Conversation
78750ae
to
edadba1
Compare
edadba1
to
fc9c6b5
Compare
bafe211
to
f58cfa6
Compare
It appears that this function call from here is resulting in a os error: |
@ThetaSinner and @steveej, running into two issues here. It appears that adding |
@@ -18,5 +18,24 @@ teardown() { | |||
|
|||
@test "expected scaffold an example to succeed" { | |||
set -e | |||
hc scaffold example forum -t vue |
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.
looks like this has been failing internally all along and it exitted 0 anyway.
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.
@c12i i think this needs to be fixed in scaffolding. are you going to take it from here or should i create an issue?
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.
Thanks for catching this, I know what the issue is, the arguments are a little different with different scaffolding versions. I can look into how I can fix this.
setup_and_build_hello_world() { | ||
print_version | ||
|
||
hc-scaffold example hello-world |
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.
ideally we'd know about the failure here, see my previous 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.
using strace
i can see that the problem is a missing nix
binary in the test, and after adding that missing internet access. we're going to have to rework the holonix integration test derivation to make it work. i'm looking into our options right now.
Summary
TODO: