-
Notifications
You must be signed in to change notification settings - Fork 18
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
Jenkinsfile,Makefile: add coverage flag #336
base: main
Are you sure you want to change the base?
Conversation
@@ -174,7 +174,7 @@ endif | |||
.PHONY: test-testsuite-do | |||
test-testsuite-do: | |||
go vet ./... | |||
go test -json=${JSON} -p 16 -parallel 4 -race -short=${SHORT} -timeout 10m -vet=off ./... | |||
go test -json=${JSON} -cover -coverprofile=.build/coverprofile -p 16 -parallel 4 -race -short=${SHORT} -timeout 10m -vet=off ./... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beware, this will overwrite the coverage of the main module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this error be caused by this?
tparse error: no parseable events: call go test with -json flag
Closes #275 |
PR Checklist
pkg/server: add TestXYZ for XYZ
Commit Message Body
Closes #1234
,Fixes #1234
,Resolves #1234
orUpdates #1234
(the latter if this is not a complete fix) to this commentstorj/gateway-mt
, you can use theowner/repo#issue_number
syntax:Fixes storj/common#1234
Related Issue
Code Review Checklist (to be filled out by reviewer)