1
0
Fork 0

Reorder build steps

pull/8916/head
Jordi Boggiano 2020-05-28 09:49:41 +02:00
parent dce9b129bb
commit 38557b2460
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 5 additions and 5 deletions

View File

@ -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"