diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 7bda84d..89e08e3 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -15,6 +15,19 @@ jobs: matrix: php: ['8.2', '8.1', '8.0', '7.4'] twill: ['3.0.0-rc3', '2.*'] + include: + - php: '8.2' + dusk: '7.*' + testbench: '7.*' + - php: '8.1' + dusk: '7.*' + testbench: '7.*' + - php: '8.0' + dusk: '7.*' + testbench: '7.*' + - php: '7.4' + dusk: '6.*' + testbench: '6.*' exclude: - twill: '3.0.0-rc3' php: '7.4' @@ -46,7 +59,7 @@ jobs: - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: | - composer require "area17/twill:${{ matrix.twill }}" --no-interaction --no-update + composer require "orchestra/testbench:${{ matrix.testbench }}" "laravel/dusk:${{ matrix.dusk }}" "area17/twill:${{ matrix.twill }}" --no-interaction --no-update composer install --prefer-dist --no-interaction --no-plugins - name: Run test suite diff --git a/composer.json b/composer.json index dc5f5c9..3a3a33b 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ "area17/twill": "^2.0|^3.0" }, "require-dev": { - "orchestra/testbench": "^7.0", - "laravel/dusk": "^7.6" + "orchestra/testbench": "^6.0|^7.0", + "laravel/dusk": "^6.0|^7.0" }, "autoload": { "psr-4": {