From 4714544efc91bea9f606507511418bb4bb410c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Tes=C3=A1rek?= Date: Thu, 3 Dec 2020 15:14:16 +0100 Subject: [PATCH] Added standalone composer command for running tests. --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 26219f3..4008ecb 100644 --- a/composer.json +++ b/composer.json @@ -59,7 +59,7 @@ "all": [ "@lint", "@analyze", - "./vendor/bin/phpunit --colors=always" + "@test" ], "analyze": [ "vendor/bin/ecs check src/ tests/ --ansi", @@ -73,6 +73,9 @@ "vendor/bin/parallel-lint -j 10 ./src ./tests", "@composer validate", "@composer normalize --dry-run" + ], + "test": [ + "./vendor/bin/phpunit --colors=always" ] } }