From 59ad3121d972a66f75bc7d9231f31ce68e5366e6 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 17 Oct 2020 14:21:33 +0100 Subject: [PATCH] Run phpcs on the code as well --- .github/workflows/run-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c3c9750b..25b5025e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,7 +1,6 @@ name: Run Tests on: - push: pull_request: jobs: @@ -35,7 +34,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '7.4' - tools: pecl + tools: pecl, phpcs extensions: imagick - name: Copy .env run: php -r "file_exists('.env') || copy('.env.github', '.env');" @@ -51,3 +50,5 @@ jobs: php artisan db:seed - name: Execute tests (Unit and Feature tests) via PHPUnit run: vendor/bin/phpunit + - name: Run phpcs + run: phpcs