Skip to content
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

zsh: command not found: go-junit-report #160

Open
Parthiba-Hazra opened this issue Mar 14, 2023 · 3 comments
Open

zsh: command not found: go-junit-report #160

Parthiba-Hazra opened this issue Mar 14, 2023 · 3 comments

Comments

@Parthiba-Hazra
Copy link

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..
Screenshot from 2023-03-14 11-33-04

@LRipi
Copy link

LRipi commented Mar 15, 2023

What is your GOPATH? (i.e. go env GOPATH)
Can you the binary in it?

@Parthiba-Hazra
Copy link
Author

What is your GOPATH? (i.e. go env GOPATH) Can you the binary in it?

GOPATH - /home/username/go

@qmilangowin
Copy link

Getting this too now.
Was working before. Now getting:
/bin/bash: go-junit-report: command not found

junit-report is installed in my go/bin directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants