From f7c0486101a2bc80402607d72c8153e67cbc3635 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 10 Dec 2021 12:52:36 +0100 Subject: [PATCH] Added swagger:validate to ci and ci:parallel commands --- composer.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index fedb863f..abc6dc79 100644 --- a/composer.json +++ b/composer.json @@ -53,12 +53,12 @@ "shlinkio/shlink-importer": "dev-main#d099072 as 2.5", "shlinkio/shlink-installer": "dev-develop#7dd00fb as 6.3", "shlinkio/shlink-ip-geolocation": "^2.2", - "symfony/console": "^5.4", - "symfony/filesystem": "^5.4", - "symfony/lock": "^5.4", + "symfony/console": "^6.0 || ^5.4", + "symfony/filesystem": "^6.0 || ^5.4", + "symfony/lock": "^6.0 || ^5.4", "symfony/mercure": "^0.6", - "symfony/process": "^5.4", - "symfony/string": "^5.4" + "symfony/process": "^6.0 || ^5.4", + "symfony/string": "^6.0 || ^5.4" }, "require-dev": { "cebe/php-openapi": "^1.5", @@ -107,11 +107,12 @@ "ci": [ "@cs", "@stan", + "@swagger:validate", "@test:ci", "@infect:ci" ], "ci:parallel": [ - "@parallel cs stan test:unit:ci test:db:sqlite:ci test:db:mysql test:db:maria test:db:postgres test:db:ms", + "@parallel cs stan swagger:validate test:unit:ci test:db:sqlite:ci test:db:mysql test:db:maria test:db:postgres test:db:ms", "@parallel test:api infect:ci:unit infect:ci:db" ], "cs": "phpcs", @@ -151,7 +152,7 @@ "clean:dev": "rm -f data/database.sqlite && rm -f config/params/generated_config.php" }, "scripts-descriptions": { - "ci": "Alias for \"cs\", \"stan\", \"test:ci\" and \"infect:ci\"", + "ci": "Alias for \"cs\", \"stan\", \"swagger:validate\", \"test:ci\" and \"infect:ci\"", "ci:parallel": "Same as \"ci\", but parallelizing tasks as much as possible", "cs": "Checks coding styles", "cs:fix": "Fixes coding styles, when possible",