You've already forked Php-Template
feat: update gRPC server configuration and enhance Docker setup
Some checks failed
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Has been cancelled
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Has started running
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Has started running
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Has started running
Some checks failed
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Has been cancelled
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Has started running
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Has started running
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Has started running
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Has started running
This commit is contained in:
14
makefile
14
makefile
@@ -62,8 +62,10 @@ restart: ## Restart dev container (stop + start)
|
|||||||
|
|
||||||
rebuild: ## Rebuild containers (useful after Dockerfile changes)
|
rebuild: ## Rebuild containers (useful after Dockerfile changes)
|
||||||
@printf "$(YELLOW)$(SPARK) Rebuilding containers$(RESET)\n"
|
@printf "$(YELLOW)$(SPARK) Rebuilding containers$(RESET)\n"
|
||||||
$(DOCKER) build
|
@$(MAKE) stop
|
||||||
$(DOCKER) up --force-recreate --build -d
|
@printf "$(YELLOW)$(TRASH) Deleting all Docker resources$(RESET)\n"
|
||||||
|
docker system prune --all --volumes --force
|
||||||
|
@$(MAKE) start
|
||||||
|
|
||||||
ps: ## Show docker compose ps
|
ps: ## Show docker compose ps
|
||||||
$(DOCKER) ps
|
$(DOCKER) ps
|
||||||
@@ -139,9 +141,15 @@ fmt: ## Format code (php-cs-fixer)
|
|||||||
|
|
||||||
test: ## Run test suite (phpunit)
|
test: ## Run test suite (phpunit)
|
||||||
@printf "$(CHECK) $(GREEN)Running unit tests$(RESET)\n"
|
@printf "$(CHECK) $(GREEN)Running unit tests$(RESET)\n"
|
||||||
@$(DOCKER) up $(COMPOSER_RUNTIME) -d --no-recreate
|
@$(DOCKER) up $(COMPOSER_RUNTIME) -d
|
||||||
$(COMPOSER) "composer run-script tests:unit || true"
|
$(COMPOSER) "composer run-script tests:unit || true"
|
||||||
|
|
||||||
|
test-coverage: ## Run test suite with coverage report
|
||||||
|
@printf "$(CHECK) $(GREEN)Running unit tests with coverage report$(RESET)\n"
|
||||||
|
@$(DOCKER) up $(COMPOSER_RUNTIME) -d
|
||||||
|
@$(MAKE) enable-coverage
|
||||||
|
$(COMPOSER) "composer run-script tests:unit:coverage || true"
|
||||||
|
|
||||||
# Convenience aliases
|
# Convenience aliases
|
||||||
dev: run ## Alias for start
|
dev: run ## Alias for start
|
||||||
ci: composer-install license-check lint test ## CI-like local flow
|
ci: composer-install license-check lint test ## CI-like local flow
|
||||||
|
|||||||
Reference in New Issue
Block a user