Set memory_limit=-1 on Windows and macOS

This commit is contained in:
Shivam Mathur
2020-07-18 05:53:26 +05:30
parent 9845a63f5c
commit a965723128
3 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,7 @@ jobs:
php -r "if(phpversion()>=7.1 && ! extension_loaded('pcov')) {throw new Exception('PCOV not found');}"
- name: Testing ini values
run: |
php -r "if(ini_get('memory_limit')!='-1') {throw new Exception('memory_limit not disabled');}"
php -r "if(ini_get('post_max_size')!='256M') {throw new Exception('post_max_size not added');}"
php -r "if(ini_get('short_open_tag')!=1) {throw new Exception('short_open_tag not added');}"
php -r "if(ini_get('date.timezone')!='Asia/Kolkata') {throw new Exception('date.timezone not added');}"