Skip to content

Commit 3213a64

Browse files
committed
Add test-local target
1 parent eab040a commit 3213a64

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@ NAME := mariadb-toolbox
22
TAG := `git describe --long --tags --dirty --always`
33
IMAGE_NAME := panubo/$(NAME)
44

5-
.PHONY: help build test clean push
5+
.PHONY: *
66

77
help:
88
@printf "$$(grep -hE '^\S+:.*##' $(MAKEFILE_LIST) | sed -e 's/:.*##\s*/:/' -e 's/^\(.\+\):\(.*\)/\\x1b[36m\1\\x1b[m:\2/' | column -c2 -t -s :)\n"
99

1010
build: ## Builds docker image
1111
docker build --pull -t $(IMAGE_NAME):$(TAG) .
1212

13-
test: ## Run tests
13+
test: ## Run tests (dind)
1414
./tests/dind-runner.sh
1515

16+
test-local: ## Run tests (local)
17+
./tests/runner.sh
18+
1619
clean: ## Remove built image
1720
docker rmi $(IMAGE_NAME):$(TAG)
1821

0 commit comments

Comments
 (0)