Merge pull request #1016 from C0rn3j/develop

Remove goverage
This commit is contained in:
Denis Gukov 2022-09-08 23:49:38 +05:00 committed by GitHub
commit f02c260e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,9 @@ tasks:
deps:
desc: Install all dependencies (except dredd requirements)
cmds:
- task: deps:tools
- task: deps:be
- task: deps:fe2
- task: deps:tools
- task: deps:be
- task: deps:fe2
deps:be:
desc: Vendor application dependencies
@ -54,7 +54,6 @@ tasks:
GOLINTER_VERSION: "1.46.2"
cmds:
- go install github.com/gobuffalo/packr/...@v1.10.4
- go install github.com/haya14busa/goverage@latest
- go install github.com/snikch/goodman/cmd/goodman@latest
- go install github.com/go-swagger/go-swagger/cmd/swagger@latest
- '{{ if ne OS "windows" }} sh -c "curl -L https://github.com/goreleaser/goreleaser/releases/download/v{{ .GORELEASER_VERSION }}/goreleaser_$(uname -s)_$(uname -m).tar.gz | tar -xz -C $(go env GOPATH)/bin goreleaser"{{ else }} {{ end }}'
@ -128,7 +127,7 @@ tasks:
desc: Build a binary for the current architecture
dir: cli
cmds:
- go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
- go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
release:
desc: creates a release without performing validations or publishing artifacts
@ -157,9 +156,7 @@ tasks:
cmds:
- go vet ./...
- swagger validate ./api-docs.yml
# 2> /dev/null makes goverage less noisy about pattern matching
# if no tests exist but will still print failing test results
- goverage -v -coverprofile=coverage.out ./... 2> /dev/null
- go test -v -coverprofile=coverage.out ./...
test:api:
desc: test the api with dredd