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