-
Notifications
You must be signed in to change notification settings - Fork 17
Jenkinsfile,Makefile: add coverage flag #336
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
base: main
Are you sure you want to change the base?
Changes from all commits
8c17b51
b566bb9
8824cb2
c66a2d7
d1869fc
654ffec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -162,7 +162,7 @@ SKIP_TESTSUITE ?= false | |
|
|
||
| .PHONY: test | ||
| test: test-testsuite ## Test | ||
| 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 ./... | ||
|
|
||
| .PHONY: test-testsuite | ||
| test-testsuite: ## Test testsuite | ||
|
|
@@ -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 ./... | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. beware, this will overwrite the coverage of the main module
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this error be caused by this? |
||
|
|
||
| ##@ Local development/Public Jenkins/Verification | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.