-
Notifications
You must be signed in to change notification settings - Fork 51
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
workflow-templates/knative-go-build.yaml does also testing #176
Comments
Note that it calls an empty |
Can't this still be combined with the test action as the code is build there, too ? This would save resources, and if build fails, both, the build and test action would always fail anyway. I'd suggest a single |
I agree with the sentiment and I'm not against collapsing them. I will say though that just running That being said, I dunno how often this is actually an issue as-in: How many people actually commit code that doesn't even compile and then causes them to have to debug that in CI. |
+1 And if so, I guess they deserve to have to look a bit closer in the test output. But I wouldn't mind to add a prior build step for the test step to make it more evident when things are failing. Said that, I wonder whether we shouldn't be even more flexible here and allow to plugin a build script (e.g. call that if this exists). The client uses an own "build.sh" for doing all that stuff (and a bit more), so calling this instead of a vanilla One could add a check, that if |
This workflow action actually does a
go test
which IMO has some overlap withknative-go-test.yaml
.I wonder whether this file is required at all and whether the testing in
knative-go-test.yaml
is not good enough ?The text was updated successfully, but these errors were encountered: