fix build by allowing the yii2-composer plugin

This commit is contained in:
Mehdi Achour 2022-07-31 18:01:45 +01:00
parent 63ff3b6553
commit 8af19c880f

View File

@ -32,7 +32,9 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer- restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies - name: Install dependencies
run: composer update $DEFAULT_COMPOSER_FLAGS run: |
composer config --no-plugins allow-plugins.yiisoft/yii2-composer true
composer update $DEFAULT_COMPOSER_FLAGS
- name: Run unit tests with coverage - name: Run unit tests with coverage
run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always run: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --colors=always
if: matrix.php == '7.4' if: matrix.php == '7.4'