mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-23 09:51:17 +02:00
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:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -17,5 +17,5 @@ jobs:
|
||||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
- run: composer global require phpunit/phpunit ^8
|
||||
- run: phpunit --configuration=phpunit.xml --include-path=lib/
|
||||
- run: composer install
|
||||
- run: composer test
|
||||
|
Reference in New Issue
Block a user