Fix enabling zend extensions

This commit is contained in:
Shivam Mathur
2019-12-19 11:29:27 +05:30
parent 2d488f53fd
commit f2972dcf18
4 changed files with 44 additions and 12 deletions

View File

@ -59,7 +59,7 @@ jobs:
run: node dist/index.js
env:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, opcache, xdebug, pcov #optional
extensions: xml, opcache, xdebug, pcov #optional
ini-values: post_max_size=256M, short_open_tag=On, date.timezone=Asia/Kolkata #optional
coverage: pcov

View File

@ -57,7 +57,7 @@ jobs:
run: node dist/index.js
env:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, xdebug, pcov #optional
extensions: xml, opcache, xdebug, pcov #optional
ini-values: post_max_size=256M, short_open_tag=On, date.timezone=Asia/Kolkata #optional
- name: Testing PHP version
@ -72,7 +72,7 @@ jobs:
- name: Testing Extensions
run: |
php -m
php -r "if(! extension_loaded('mbstring')) {throw new Exception('mbstring 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');}"
- name: Testing ini values