Skip to content

Commit

Permalink
Run Ginkgo from source in Make target
Browse files Browse the repository at this point in the history
Use `go run` for Ginkgo run.
  • Loading branch information
HeavyWombat committed May 14, 2024
1 parent 53f5098 commit 73489bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ lint:

.PHONY: misspell
misspell:
@find . -type f \( -name "*.go" -o -name "*.md" \) -print0 | xargs -0 misspell -error
@find . -type f -not -path "./vendor/*" \( -name "*.go" -o -name "*.md" \) -print0 | xargs -0 misspell -error

.PHONY: unit-test
unit-test: test

.PHONY: test
test:
@ginkgo run \
@go run -mod=mod github.com/onsi/ginkgo/v2/ginkgo run \
--coverprofile=unit.coverprofile \
--randomize-all \
--randomize-suites \
Expand Down

0 comments on commit 73489bf

Please sign in to comment.