mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-06 06:56:25 +00:00
fix coverage
This commit is contained in:
parent
1c4c2ce046
commit
4a40cce344
@ -40,15 +40,6 @@ code_coverage:
|
|||||||
script:
|
script:
|
||||||
- make coverage
|
- make coverage
|
||||||
|
|
||||||
code_coverage_report:
|
|
||||||
stage: test
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- make coverhtml
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
lint_code:
|
lint_code:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
|
8
Makefile
8
Makefile
@ -17,13 +17,11 @@ race: dep ## Run data race detector
|
|||||||
@go test -race ${PKG_LIST}
|
@go test -race ${PKG_LIST}
|
||||||
|
|
||||||
msan: dep ## Run memory sanitizer
|
msan: dep ## Run memory sanitizer
|
||||||
@go test -msan ${PKG_LIST}
|
@go test -msan -short ${PKG_LIST}
|
||||||
|
|
||||||
coverage: ## Generate global code coverage report
|
coverage: ## Generate global code coverage report
|
||||||
./tools/coverage.sh;
|
mkdir -p cover
|
||||||
|
go tool cover -html=cover/gonextcloud.cov -o coverage.html
|
||||||
coverhtml: ## Generate global code coverage report in HTML
|
|
||||||
./tools/coverage.sh html;
|
|
||||||
|
|
||||||
dep: ## Get the dependencies
|
dep: ## Get the dependencies
|
||||||
mkdir -p vendor
|
mkdir -p vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user