Disable go unit test cache for code coverage reports
This commit is contained in:
parent
f5d5dbe25e
commit
336d4b5cdc
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -81,11 +81,11 @@ test-race:
|
|||
$(GOTEST) -tags=slow -race -timeout 60m -v ./internal/...
|
||||
test-codecov:
|
||||
$(info Running all Go unit tests with code coverage report for codecov...)
|
||||
go test -tags=slow -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
go test -count=1 -tags=slow -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
scripts/codecov.sh
|
||||
test-coverage:
|
||||
$(info Running all Go unit tests with code coverage report...)
|
||||
go test -tags=slow -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
go test -count=1 -tags=slow -timeout 30m -coverprofile=coverage.txt -covermode=atomic -v ./internal/...
|
||||
go tool cover -html=coverage.txt -o coverage.html
|
||||
clean:
|
||||
rm -f $(BINARY_NAME)
|
||||
|
|
Loading…
Reference in a new issue