Skip to content

Commit

Permalink
fix: default goal in makefile and add goal for unit tests (#475)
Browse files Browse the repository at this point in the history
* feat: add make target for unit tests

* fix: default make goal
  • Loading branch information
xperimental committed May 17, 2024
1 parent 33584e6 commit b6ed9c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ OSD_E2E_TEST_HARNESS_IMG=$(IMAGE_BASE)-test-harness:$(VERSION)
OSD_E2E_TEST_HARNESS_IMG_LATEST=$(IMAGE_BASE)-test-harness:latest

# running `make` builds the operator (default target)
all: operator
.DEFAULT_GOAL := operator

## Development

.PHONY: test-unit
test-unit:
go test -cover ./cmd/... ./pkg/...

.PHONY: lint
lint: lint-golang lint-jsonnet lint-shell

Expand Down

0 comments on commit b6ed9c5

Please sign in to comment.