From b1ae7603bfbd3daf1768b571f2d45c50f798bb95 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 24 Jun 2022 12:00:58 +0200 Subject: [PATCH] ci: Install PHPUnit as a Composer dependency (#2857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4920aa7c..48e60ad0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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