mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.3 to 3.16.2. - [Release notes](https://github.com/helm/helm/releases) - [Commits](https://github.com/helm/helm/compare/v3.15.3...v3.16.2) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
820 B
Makefile
32 lines
820 B
Makefile
GOPATH=$(shell go env GOPATH)
|
|
GOLANGCI_LINT=$(GOPATH)/bin/golangci-lint
|
|
|
|
.PHONY: lint
|
|
lint: $(GOLANGCI_LINT)
|
|
@echo "==> Linting codebase"
|
|
@$(GOLANGCI_LINT) run
|
|
|
|
.PHONY: test
|
|
test:
|
|
@echo "==> Running tests"
|
|
GO111MODULE=on go test -v
|
|
|
|
.PHONY: test-cover
|
|
test-cover:
|
|
@echo "==> Running Tests with coverage"
|
|
GO111MODULE=on go test -cover .
|
|
|
|
.PHONY: fuzz
|
|
fuzz:
|
|
@echo "==> Running Fuzz Tests"
|
|
go env GOCACHE
|
|
go test -fuzz=FuzzNewVersion -fuzztime=15s .
|
|
go test -fuzz=FuzzStrictNewVersion -fuzztime=15s .
|
|
go test -fuzz=FuzzNewConstraint -fuzztime=15s .
|
|
|
|
$(GOLANGCI_LINT):
|
|
# Install golangci-lint. The configuration for it is in the .golangci.yml
|
|
# file in the root of the repository
|
|
echo ${GOPATH}
|
|
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.56.2
|