Skip to content

Commit

Permalink
Update command for PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive committed Sep 30, 2023
1 parent f264c88 commit 0b371f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ jobs:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: PHP 7.0 - Allow Plugin
if: "$PHP_VERSION" == "7.0"
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: composer config --no-plugins allow-plugins.kylekatarnls/update-helper
- name: Install Composer dependencies
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: $(if [ "$PHP_VERSION" == "7.0" ]; then echo "composer config --no-plugins allow-plugins.kylekatarnls/update-helper &&"; fi;) composer install --no-progress --prefer-dist --optimize-autoloader
run: $(if [ "$PHP_VERSION" == "7.0" ]; then echo "composer install"; else echo "composer install --no-progress --prefer-dist --optimize-autoloader"; fi;)
- name: Run tests with code coverage
env:
PHP_VERSION: ${{ matrix.php-versions }}
Expand Down

0 comments on commit 0b371f9

Please sign in to comment.