update github action workflow files

This commit is contained in:
KHOUBZA Younes
2022-07-05 20:45:20 +01:00
parent 86bb91368a
commit 6b9c2e861b
+6 -3
View File
@@ -54,7 +54,8 @@ jobs:
run: |
composer remove friendsofphp/php-cs-fixer laravel/framework livewire/livewire phpstan/phpstan symfony/symfony orchestra/testbench phpunit/phpunit --dev
composer config extra.symfony.require "${{ matrix.symfony }}"
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist
- name: Execute tests
run: vendor/bin/phpunit --configuration=phpunit-symfony.xml
@@ -87,7 +88,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
@@ -97,8 +98,10 @@ jobs:
- name: Install dependencies
run: |
composer config --no-plugins allow-plugins.kylekatarnls/update-helper false
composer remove friendsofphp/php-cs-fixer laravel/framework livewire/livewire phpstan/phpstan symfony/symfony orchestra/testbench phpunit/phpunit --dev
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist
- name: Execute tests
run: vendor/bin/phpunit --configuration=phpunit-laravel.xml