From 3ede7656cb9c97f4f91f230ffcefc187d033e6d3 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 15 Jul 2022 23:22:56 +0530 Subject: [PATCH] Add check for gd in php.yml --- .github/workflows/php.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a1937cb48..654379c26 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -70,6 +70,7 @@ jobs: - name: Testing Extensions run: | php -m + php -r "if(! extension_loaded('gd')) {throw new Exception('gd not found');}" php -r "if(! extension_loaded('xml')) {throw new Exception('xml not found');}" php -r "if(! extension_loaded('Xdebug')) {throw new Exception('Xdebug not found');}" php -r "if(phpversion()>=7.1 && ! extension_loaded('pcov')) {throw new Exception('PCOV not found');}"