Skip to content

Commit 054011e

Browse files
committed
chore: update unit test command
1 parent 3c5334b commit 054011e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ help:
22
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "⚡ \033[34m%-30s\033[0m %s\n", $$1, $$2}'
33

44
install: build run
5-
test: build run test
65

76
build: ## Build Docker image for local development
87
docker-compose build
@@ -19,7 +18,7 @@ restart: ## Restart containers
1918
docker-compose restart
2019

2120
test: ### Run unit testing
22-
docker-compose exec app sh -c "composer test"
21+
docker-compose run --rm app sh -c "composer test"
2322

2423
stop: ## Stop application running in Docker
2524
docker-compose kill

0 commit comments

Comments
 (0)