Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobicloudvision committed Apr 28, 2024
1 parent 381f465 commit af63004
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/app-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
sudo cp installers/${{ matrix.os }}/install-partial/install_web.sh /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
run: |
Expand All @@ -39,7 +45,7 @@ jobs:
ls -la
sudo wget https://getcomposer.org/download/latest-stable/composer.phar
sudo COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
sudo COMPOSER_ALLOW_SUPERUSER=1 php composer.phar install
sudo /phyre-panel/install_web.sh
Expand Down
2 changes: 1 addition & 1 deletion web/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
],
"test:coverage": [
"Composer\\Config::disableProcessTimeout",
"phyre-php -d xdebug.mode=coverage artisan test --coverage -c \"phpunit-coverage.xml\""
"php -d xdebug.mode=coverage artisan test --coverage -c \"phpunit-coverage.xml\""
]
},
"extra": {
Expand Down

0 comments on commit af63004

Please sign in to comment.