From 82aea575cb896b4b8278a34c5d884b2dc5a51bbc Mon Sep 17 00:00:00 2001 From: Chris Tanner Date: Sat, 28 Sep 2024 18:21:02 -0400 Subject: [PATCH] Require testbench 8 in laravel 10 matrix tests --- .github/workflows/laravel-compatibility.yml | 2 +- .github/workflows/php-compatibility.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/laravel-compatibility.yml b/.github/workflows/laravel-compatibility.yml index a04106e..332fc23 100644 --- a/.github/workflows/laravel-compatibility.yml +++ b/.github/workflows/laravel-compatibility.yml @@ -27,7 +27,7 @@ jobs: php-version: ${{ matrix.php }} - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Run tests run: vendor/bin/phpunit --testsuite=Feature --colors=always \ No newline at end of file diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 09286b9..a8ebbc9 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -21,8 +21,10 @@ jobs: include: - php: 8.2 laravel: 10.* + testbench: 8.27 - php: 8.3 laravel: 11.* + testbench: 9.* steps: - uses: actions/checkout@v4 - name: Setup PHP @@ -31,7 +33,7 @@ jobs: php-version: ${{ matrix.php }} - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Run tests run: vendor/bin/phpunit --testsuite=Feature --colors=always \ No newline at end of file