Update Makefile to run ginkgo directly

This commit is contained in:
Ettore Di Giacinto
2024-08-01 09:05:03 +02:00
committed by GitHub
parent 1712988ecc
commit 39208f7e59

View File

@@ -17,10 +17,7 @@ fmt:
.PHONY: test .PHONY: test
test: test:
go get github.com/onsi/ginkgo/v2 go run github.com/onsi/ginkgo/v2/ginkgo -r --flake-attempts=3 ./...
go install github.com/onsi/ginkgo/v2/ginkgo
go get github.com/onsi/gomega/...
ginkgo -r --flake-attempts=3 ./...
.PHONY: test-integration .PHONY: test-integration
test-integration: test-integration:
@@ -28,7 +25,7 @@ test-integration:
.PHONY: coverage .PHONY: coverage
coverage: coverage:
ginkgo --flake-attempts=3 --fail-fast -cover -covermode=atomic -coverprofile=coverage.txt -r . go run github.com/onsi/ginkgo/v2/ginkgo --flake-attempts=3 --fail-fast -cover -covermode=atomic -coverprofile=coverage.txt -r .
.PHONY: help .PHONY: help
help: help:
@@ -50,8 +47,6 @@ deps:
# Installing dependencies... # Installing dependencies...
go get golang.org/x/lint/golint go get golang.org/x/lint/golint
go get github.com/mitchellh/gox go get github.com/mitchellh/gox
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega/...
.PHONY: build .PHONY: build
build: build: