From 31c61066a7314bb5a221e2a574ba688d068f8d79 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 29 Apr 2024 00:42:55 +0300 Subject: [PATCH] update --- .github/workflows/app-code-coverage.yml | 4 ++-- README.md | 4 ++-- web/tests/xdebug-php-ini.txt | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 web/tests/xdebug-php-ini.txt diff --git a/.github/workflows/app-code-coverage.yml b/.github/workflows/app-code-coverage.yml index 04c0e0f..abbbdb9 100644 --- a/.github/workflows/app-code-coverage.yml +++ b/.github/workflows/app-code-coverage.yml @@ -57,8 +57,8 @@ jobs: sudo chmod 777 /usr/local/phyre/php/zend-xdebug/xdebug.so - sudo bash -c "echo 'zend_extension=/usr/local/phyre/php/zend-xdebug/xdebug.so' >> /usr/local/phyre/php/bin/php.ini" - + sudo cp /usr/local/phyre/web/tests/xdebug-php-ini.txt /usr/local/phyre/php/bin/php.ini + sudo chmod 777 /usr/local/phyre/php/bin/php.ini phyre-php -v diff --git a/README.md b/README.md index 868e89b..5038f0c 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,11 @@ The admin panel can be opened on port: yourserver.com:8443 ### Master branch ![Unit Tests](https://github.com/PhyreApps/PhyrePanel/actions/workflows/app-unit-test.yml/badge.svg) -[![codecov](https://codecov.io/gh/PhyreApps/PhyrePanel/branch/main/graph/badge.svg?token=aLAgaSMcbZ)](https://codecov.io/gh/PhyreApps/PhyrePanel) +[![codecov](https://codecov.io/gh/PhyreApps/PhyrePanel/graph/badge.svg?token=BO0RTPLS4W)](https://codecov.io/gh/PhyreApps/PhyrePanel) ### Dev branch ![Unit Tests](https://github.com/PhyreApps/PhyrePanel/actions/workflows/app-unit-test.yml/badge.svg?branch=dev) -[![codecov](https://codecov.io/gh/PhyreApps/PhyrePanel/branch/dev/graph/badge.svg?token=aLAgaSMcbZ)](https://codecov.io/gh/PhyreApps/PhyrePanel) +[![codecov](https://codecov.io/gh/PhyreApps/PhyrePanel/graph/badge.svg?token=BO0RTPLS4W)](https://codecov.io/gh/PhyreApps/PhyrePanel) All development is done on the `dev` branch. The `master` branch is used for stable releases. diff --git a/web/tests/xdebug-php-ini.txt b/web/tests/xdebug-php-ini.txt new file mode 100644 index 0000000..b7ec2ca --- /dev/null +++ b/web/tests/xdebug-php-ini.txt @@ -0,0 +1,4 @@ +[xdebug] +zend_extension=/usr/local/phyre/php/zend-xdebug/xdebug.so +xdebug.mode=develop,debug,coverage +xdebug.start_with_request = yes