Use dev tag for vetting
This commit is contained in:
parent
b5c742f19d
commit
d4b613b766
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ format:
|
||||||
# we use tags="dev" so there is no dependency on the prebuilt assets yet
|
# we use tags="dev" so there is no dependency on the prebuilt assets yet
|
||||||
- go get -tags="dev" -v $(go list ./... | grep -v /vendor/) # get missing dependencies
|
- go get -tags="dev" -v $(go list ./... | grep -v /vendor/) # get missing dependencies
|
||||||
- go fmt $(go list ./... | grep -v /vendor/)
|
- go fmt $(go list ./... | grep -v /vendor/)
|
||||||
- go vet $(go list ./... | grep -v /vendor/)
|
- go vet -tags="dev" $(go list ./... | grep -v /vendor/)
|
||||||
- go test -tags="dev" -race $(go list ./... | grep -v /vendor/) -v -coverprofile .testCoverage.txt
|
- go test -tags="dev" -race $(go list ./... | grep -v /vendor/) -v -coverprofile .testCoverage.txt
|
||||||
# Use coverage parsing regex: ^coverage:\s(\d+(?:\.\d+)?%)
|
# Use coverage parsing regex: ^coverage:\s(\d+(?:\.\d+)?%)
|
||||||
|
|
||||||
|
@ -87,4 +87,4 @@ build_image:
|
||||||
- docker build -t $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME#v} .
|
- docker build -t $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME#v} .
|
||||||
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME#v}
|
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME#v}
|
||||||
# only:
|
# only:
|
||||||
# - tags
|
# - tags
|
||||||
|
|
Loading…
Reference in a new issue