Skip to content

Commit

Permalink
Add 'test-go-unit' and 'test' targets to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
richscott committed Jun 5, 2024
1 parent 4620522 commit 20be74c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ install-tools: ## install tools.
@echo '>>> Installing tools.'
@go install github.com/golangci/golangci-lint/cmd/[email protected]

.PHONY: test
test: test-go-unit ## run all the tests.

.PHONY: test-go-unit
test-go-unit: ## run go unit tests.
@echo ">>> Running unit tests."
@go test ./internal/...

DOCKER_OUTPUT?=type=docker
ifneq ($(origin DOCKER_METADATA), undefined)
# If DOCKER_METADATA is defined, use it to set the tags and labels.
Expand Down

0 comments on commit 20be74c

Please sign in to comment.