mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
update
This commit is contained in:
parent
af6300420e
commit
049c3bbf5e
2 changed files with 2 additions and 8 deletions
8
.github/workflows/app-code-coverage.yml
vendored
8
.github/workflows/app-code-coverage.yml
vendored
|
@ -31,12 +31,6 @@ jobs:
|
||||||
sudo cp installers/${{ matrix.os }}/install-partial/install_web.sh /phyre-panel/install_web.sh
|
sudo cp installers/${{ matrix.os }}/install-partial/install_web.sh /phyre-panel/install_web.sh
|
||||||
sudo chmod +x /phyre-panel/install_web.sh
|
sudo chmod +x /phyre-panel/install_web.sh
|
||||||
|
|
||||||
- name: Setup PHP, with composer and extensions
|
|
||||||
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
|
|
||||||
with:
|
|
||||||
php-version: '8.2'
|
|
||||||
extensions: mbstring, dom, fileinfo, mysql, gd, curl, zip, sqlite, xml,
|
|
||||||
coverage: xdebug
|
|
||||||
- name: Run Code Coverage
|
- name: Run Code Coverage
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
|
@ -45,7 +39,7 @@ jobs:
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
sudo wget https://getcomposer.org/download/latest-stable/composer.phar
|
sudo wget https://getcomposer.org/download/latest-stable/composer.phar
|
||||||
sudo COMPOSER_ALLOW_SUPERUSER=1 php composer.phar install
|
sudo COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
|
||||||
|
|
||||||
sudo /phyre-panel/install_web.sh
|
sudo /phyre-panel/install_web.sh
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
],
|
],
|
||||||
"test:coverage": [
|
"test:coverage": [
|
||||||
"Composer\\Config::disableProcessTimeout",
|
"Composer\\Config::disableProcessTimeout",
|
||||||
"php -d xdebug.mode=coverage artisan test --coverage -c \"phpunit-coverage.xml\""
|
"phyre-php -d xdebug.mode=coverage artisan test --coverage -c \"phpunit-coverage.xml\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
Loading…
Reference in a new issue