Skip to content

Commit

Permalink
Update Makefile to run ginkgo directly
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler authored Aug 1, 2024
1 parent 1712988 commit 39208f7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ fmt:

.PHONY: test
test:
go get github.com/onsi/ginkgo/v2
go install github.com/onsi/ginkgo/v2/ginkgo
go get github.com/onsi/gomega/...
ginkgo -r --flake-attempts=3 ./...
go run github.com/onsi/ginkgo/v2/ginkgo -r --flake-attempts=3 ./...

.PHONY: test-integration
test-integration:
tests/integration/run.sh

.PHONY: 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
help:
Expand All @@ -50,8 +47,6 @@ deps:
# Installing dependencies...
go get golang.org/x/lint/golint
go get github.com/mitchellh/gox
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega/...

.PHONY: build
build:
Expand Down

0 comments on commit 39208f7

Please sign in to comment.