diff --git a/.github/workflows/browser-tests.yaml b/.github/workflows/browser-tests.yaml index 2bfe271..203c8bc 100644 --- a/.github/workflows/browser-tests.yaml +++ b/.github/workflows/browser-tests.yaml @@ -19,13 +19,16 @@ jobs: - 8.2 - 8.3 - 8.4 + testbench: + - 9 + - 10 dependencies: - "highest" - "lowest" experimental: - false - name: Laravel:11 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} + name: Testbench:${{ matrix.testbench }} / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} steps: - name: Checkout code @@ -42,7 +45,7 @@ jobs: uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache --with=orchestra/testbench-dusk:^9.0" + composer-options: "--prefer-dist --no-cache --with=orchestra/testbench-dusk:${{ matrix.os == 'ubuntu-latest' && '^' || '~' }}${{ matrix.testbench }}.0" - name: Installed dependencies run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9121f1a..67c4ba6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,13 +20,16 @@ jobs: - 8.2 - 8.3 - 8.4 + testbench: + - 9 + - 10 dependencies: - "highest" - "lowest" experimental: - false - name: Laravel:11 / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} + name: Testbench:${{ matrix.testbench }} / PHP:${{ matrix.php }} / OS:${{ matrix.os }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }} steps: - name: Checkout code @@ -43,7 +46,7 @@ jobs: uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--prefer-dist --no-cache --with=orchestra/testbench:^9.0" + composer-options: "--prefer-dist --no-cache --with=orchestra/testbench:${{ matrix.os == 'ubuntu-latest' && '^' || '~' }}${{ matrix.testbench }}.0" - name: Installed dependencies run: | diff --git a/composer.json b/composer.json index cc75f47..f479b9d 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "require": { "php": "^8.2", - "orchestra/testbench": "^9.5.2", + "orchestra/testbench": "^9.5.2 || ^10.0", "pestphp/pest": "^3.4.1", "pestphp/pest-plugin-laravel": "^3.0", "symfony/polyfill-php82": "^1.31", @@ -26,7 +26,7 @@ }, "require-dev": { "laravel/pint": "^1.11", - "orchestra/testbench-dusk": "^9.5", + "orchestra/testbench-dusk": "^9.5 || ^10.0", "phpstan/phpstan": "^1.11", "rector/rector": "^1.0", "symfony/var-dumper": "^7.0",