Set memory_limit=-1 on Windows and macOS

This commit is contained in:
Shivam Mathur
2020-07-18 05:53:26 +05:30
parent 2f1900f7bc
commit 70fd71ab48
3 changed files with 4 additions and 2 deletions

View File

@ -50,6 +50,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');}"