-
Notifications
You must be signed in to change notification settings - Fork 205
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
"module-aware" mode is not working during "go test", in github-actions CI pipeline #233
Comments
I'd really like that issue to be solved. We're using GOPATH explicitly in the test, we clearly need to remove that dependency. |
Thanks tons for the informative comment @apelisse. Humble request, could you kindly confirm its not trivial enough for a beginner. And hence we just keep this issue for tracking at least. ( just did a grep -ir GOPATH test) and got nothing :-) |
I don't really know how it would be solved to be honest. It might be easy, but I haven't spent the time. It's probably doable for a beginner, but it's going to require getting your hands dirty. That's probably the best way to learn ;-) |
scared, i just saw this ;
Not likely simply enough to just to a find/replace ... ! Have to evaluate impact of each line changed I guess ! or even study the package name thingall over the place ! |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@apelisse @dims Please advise and will do accordingly.
Problem
While running github-actions CI, using go v.1.16, "go test" fails if GOPATH is not passed explicit to "go test"
Description
there is a "go.mod" file in the root of the repo
Pull Requests Added github-action CI #226 , fix for hardcoded path needed to pass tests in github-ci #232 and Issue hardcoded
git checkout
path at $GOPATH/src/k8s.io, is required, to passgo test
, using github-actions #225 are related to thisWill close this issue if this not need to be tracked
The text was updated successfully, but these errors were encountered: