Commit 349f048c authored by Mitar's avatar Mitar
Browse files

Style.

parent 91276031
.PHONY: lint lint-ci fmt fmt-ci test test-ci clean lint-docs audit encrypt decrypt sops
.PHONY: test test-ci lint lint-ci fmt fmt-ci clean lint-docs audit encrypt decrypt sops
test:
gotestsum --format pkgname --packages ./... -- -race -timeout 10m -cover -covermode atomic
test-ci:
gotestsum --format pkgname --packages ./... --junitfile tests.xml -- -race -timeout 10m -coverprofile=coverage.txt -covermode atomic
gocover-cobertura < coverage.txt > coverage.xml
go tool cover -html=coverage.txt -o coverage.html
lint:
golangci-lint run --timeout 4m --color always
......@@ -17,14 +25,6 @@ fmt:
fmt-ci: fmt
git diff --exit-code --color=always
test:
gotestsum --format pkgname --packages ./... -- -race -timeout 10m -cover -covermode atomic
test-ci:
gotestsum --format pkgname --packages ./... --junitfile tests.xml -- -race -timeout 10m -coverprofile=coverage.txt -covermode atomic
gocover-cobertura < coverage.txt > coverage.xml
go tool cover -html=coverage.txt -o coverage.html
clean:
rm -f coverage.* codeclimate.json tests.xml
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment