From dd1ed1177b1a48344d52b7587698e533a92d6441 Mon Sep 17 00:00:00 2001 From: Alexander Kellner Date: Fri, 20 Dec 2024 13:32:26 +0100 Subject: [PATCH] [TASK] Add existing tests to makefile --- Makefile | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16e69e52..9c7bdad0 100644 --- a/Makefile +++ b/Makefile @@ -212,9 +212,29 @@ ifeq ($(shell uname -s), Darwin) docker-compose exec -u root php chown -R app:app /app/$(TYPO3_CACHE_DIR)/; endif +## Test: PHP CS Fixer +test-phpcs: + echo "$(EMOJI_robot) Test: Start PHP CS Fixer tests" + docker-compose exec php composer test:php:cs + +## Test: PHP Linter +test-phplint: + echo "$(EMOJI_robot) Test: Start PHP Linter tests" + docker-compose exec php composer test:php:lint + +## Test: TypoScript Linter +test-tslint: + echo "$(EMOJI_robot) Test: Start TypoScript Linter tests" + docker-compose exec php composer test:ts:lint + +## Test: Unit +test-unit: + echo "$(EMOJI_robot) Test: Start unit tests" + docker-compose exec php composer test:unit + ## Run acceptance tests test-acceptance: .selenium-start - echo "$(EMOJI_robot) Running acceptance tests" + echo "$(EMOJI_robot) Test: Start acceptance tests" docker-compose exec php bash -c "\ sleep 2 && \ ./.Build/bin/codecept clean && \