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

code coverage #63

Closed
sbp-bvanb opened this issue Aug 28, 2024 · 0 comments · Fixed by #64
Closed

code coverage #63

sbp-bvanb opened this issue Aug 28, 2024 · 0 comments · Fixed by #64

Comments

@sbp-bvanb
Copy link
Collaborator

go test -v -coverpkg=./... -coverprofile=profile.cov ./...

go tool cover -func profile.cov | grep total: | awk '{print $3}' | sed 's/%//'

if (( $(echo "19.5 > 19.7" | bc -l) )); then echo hello; fi

sbp-bvanb added a commit that referenced this issue Aug 30, 2024
* feat: [#48] Enable govulncheck

* feat: [#63] Enforce a minimum code coverage
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

Successfully merging a pull request may close this issue.

1 participant