ci: Install PHPUnit as a Composer dependency (#2857)

Now that we dropped support for deprecated PHP versions,
we can use the same PHPUnit version on all supported PHP version.
Let’s install it as a Composer dependency to have the same
PHPUnit version on the CI as on developers’ computers.
This commit is contained in:
Jan Tojnar 2022-06-24 12:00:58 +02:00 committed by GitHub
parent 556f0b4237
commit b1ae7603bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,5 +17,5 @@ jobs:
- uses: shivammathur/setup-php@v2 - uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
- run: composer global require phpunit/phpunit ^8 - run: composer install
- run: phpunit --configuration=phpunit.xml --include-path=lib/ - run: composer test