Reorder build steps
parent
dce9b129bb
commit
38557b2460
|
@ -131,6 +131,11 @@ jobs:
|
|||
if: "matrix.dependencies == 'locked'"
|
||||
run: "composer install ${{ env.COMPOSER_FLAGS }}"
|
||||
|
||||
- name: "Require latest PHPUnitBridge for PHP 8"
|
||||
if: "matrix.php-version == '8.0'"
|
||||
run: |
|
||||
composer require --no-update --dev symfony/phpunit-bridge:^5.1.0-RC2
|
||||
|
||||
- name: "Update Symfony's PHPUnitBridge to latest available for the current PHP always as it is not really a dependency of the project"
|
||||
run: "composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge"
|
||||
|
||||
|
@ -143,11 +148,6 @@ jobs:
|
|||
- name: "Prepare git environment"
|
||||
run: "git config --global user.name composer && git config --global user.email composer@example.com"
|
||||
|
||||
- name: "Require latest PHPUnitBridge for PHP 8"
|
||||
if: "matrix.php-version == '8.0'"
|
||||
run: |
|
||||
composer require --dev symfony/phpunit-bridge:^5.1.0-RC2
|
||||
|
||||
- name: "Run tests"
|
||||
if: "matrix.php-version != '7.3'"
|
||||
run: "vendor/bin/simple-phpunit"
|
||||
|
|
Loading…
Reference in New Issue