From fb807c468452ddfa4a904740ab47e46e5828b475 Mon Sep 17 00:00:00 2001 From: alphadevx Date: Sat, 8 May 2021 13:15:15 +0100 Subject: [PATCH] #369 - Adding missing PHP extensions to Actions config PHP Composer Test --- .github/workflows/php.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index c16fad67..e5fc1af6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,6 +1,9 @@ -name: Test +name: Install and unit tests on: push: + branches: [ develop ] + pull_request: + branches: [ develop ] jobs: job1: runs-on: ${{ matrix.os }} @@ -18,8 +21,7 @@ jobs: GD_CONFIGURE_OPTS: --enable-gd=shared,/usr --with-external-gd --with-jpeg GD_LIBS: libgd-dev libjpeg-dev GD_PATH: ext/gd - - name: Test - run: | - php -v - php -r 'foreach (gd_info() as $key => $value) { echo "$key: $value \n"; }' - php -m + - name: Composer Install Project + uses: php-actions/composer@v2 + - name: Run Unit Tests + uses: php-actions/phpunit@v8