Disable go unit test cache for code coverage reports
This commit is contained in:
parent
f5d5dbe25e
commit
336d4b5cdc
4
Makefile
4
Makefile
|
@ -81,11 +81,11 @@ test-race:
|
||||||
$(GOTEST) -tags=slow -race -timeout 60m -v ./internal/...
|
$(GOTEST) -tags=slow -race -timeout 60m -v ./internal/...
|
||||||
test-codecov:
|
test-codecov:
|
||||||
$(info Running all Go unit tests with code coverage report for 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
|
scripts/codecov.sh
|
||||||
test-coverage:
|
test-coverage:
|
||||||
$(info Running all Go unit tests with code coverage report...)
|
$(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
|
go tool cover -html=coverage.txt -o coverage.html
|
||||||
clean:
|
clean:
|
||||||
rm -f $(BINARY_NAME)
|
rm -f $(BINARY_NAME)
|
||||||
|
|
Loading…
Reference in a new issue