diff --git a/.github/workflows/strict-tests.yaml b/.github/workflows/strict-tests.yaml index 7cf0a45b9..c2dab10ad 100644 --- a/.github/workflows/strict-tests.yaml +++ b/.github/workflows/strict-tests.yaml @@ -40,15 +40,11 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo, :php-psr coverage: none - - name: Install PHPUnit ${{ matrix.phpunit }} - run: | - composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update - - name: Install dependencies uses: "ramsey/composer-install@v2" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache" + composer-options: "--prefer-dist --no-cache --with='phpunit/phpunit:${{ matrix.phpunit }}'" - name: Installed dependencies run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index abe5559f0..f86c4f31f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,15 +42,11 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo, :php-psr coverage: none - - name: Install PHPUnit ${{ matrix.phpunit }} - run: | - composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update - - name: Install dependencies uses: "ramsey/composer-install@v2" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache" + composer-options: "--prefer-dist --no-cache --with='phpunit/phpunit:${{ matrix.phpunit }}'" - name: Installed dependencies run: |