Add check for gd in php.yml

This commit is contained in:
Shivam Mathur 2022-07-15 23:22:56 +05:30
parent f3cdc074ce
commit 3ede7656cb
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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');}"