From 722fba7138231a0b2ecfa90b5cd48316f27ced96 Mon Sep 17 00:00:00 2001 From: alfredbez Date: Thu, 13 Feb 2020 08:52:51 +0100 Subject: [PATCH] add more checks to 'composer complete-check' --- .github/workflows/check_fixtures.yaml | 2 +- .github/workflows/check_services.yaml | 2 +- composer.json | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_fixtures.yaml b/.github/workflows/check_fixtures.yaml index 69f01a3ef48c..b11c9d72cd95 100644 --- a/.github/workflows/check_fixtures.yaml +++ b/.github/workflows/check_fixtures.yaml @@ -16,4 +16,4 @@ jobs: php-version: 7.2 coverage: none # disable xdebug, pcov - run: composer install --no-progress - - run: php ci/check_keep_fixtures.php + - run: composer check-fixtures diff --git a/.github/workflows/check_services.yaml b/.github/workflows/check_services.yaml index b75b2b3ec4f1..0823a41444bb 100644 --- a/.github/workflows/check_services.yaml +++ b/.github/workflows/check_services.yaml @@ -16,4 +16,4 @@ jobs: php-version: 7.2 coverage: none # disable xdebug, pcov - run: composer install --no-progress - - run: php ci/check_services_in_yaml_configs.php + - run: composer check-services diff --git a/composer.json b/composer.json index 652bd78cec9d..551bb925856c 100644 --- a/composer.json +++ b/composer.json @@ -218,11 +218,15 @@ "scripts": { "complete-check": [ "@check-cs", + "@check-fixtures", + "@check-services", "phpunit", "@phpstan", "@docs" ], "check-cs": "vendor/bin/ecs check --ansi", + "check-fixtures": "php ci/check_keep_fixtures.php", + "check-services": "php ci/check_services_in_yaml_configs.php", "fix-cs": [ "vendor/bin/ecs check --fix --ansi", "ci/clean_trailing_spaces.sh"