-
Notifications
You must be signed in to change notification settings - Fork 228
zsh: command not found: go-junit-report #160
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
Comments
What is your GOPATH? (i.e. |
GOPATH - /home/username/go |
Getting this too now. junit-report is installed in my |
Is |
I am using I got the same problem when I upgraded my golang docker version image to After some troubleshooting I noticed that the binary is not getting placed into the GOPATH. $ go get -u github.com/jstemmer/go-junit-report/v2@latest
go: downloading github.com/jstemmer/go-junit-report v1.0.0
go: downloading github.com/jstemmer/go-junit-report/v2 v2.1.0
go: added github.com/jstemmer/go-junit-report/v2 v2.1.0
$ find / -name go-junit-report
/go/pkg/mod/github.com/jstemmer/go-junit-report
/go/pkg/mod/cache/download/github.com/jstemmer/go-junit-report
/go/pkg/mod/cache/download/sumdb/sum.golang.org/lookup/github.com/jstemmer/go-junit-report The paths listed by Any help would be appreciated. |
Ran the command - go install github.com/jstemmer/go-junit-report/v2@latest

test go-junit-report - go test -v 2>&1 ./... | go-junit-report -set-exit-code > report.xml
output - zsh: command not found: go-junit-report
I think I had to add some path in .zshrc file, but I cant understand what to add..
The text was updated successfully, but these errors were encountered: