diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index bcf6354b4..a51f3ac90 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -21,6 +21,10 @@ jobs: php: [8.1, 8.2, 8.3] laravel: [10, 11] phpunit: [10.5, '11.0'] + include: + - php: 8.4 + laravel: 11 + phpunit: 11.3 exclude: - php: 8.1 laravel: 11 @@ -44,8 +48,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress - name: Upgrade Chrome Driver run: php vendor/bin/testbench dusk:chrome-driver --detect @@ -57,6 +60,6 @@ jobs: run: php vendor/bin/testbench serve --no-reload & - name: Execute tests - run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist + run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --fail-on-deprecation --display-deprecations env: APP_URL: http://127.0.0.1:8000 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 694b05e0b..397b745f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,10 @@ jobs: php: [8.1, 8.2, 8.3] laravel: [10, 11] phpunit: [10.5, '11.0'] + include: + - php: 8.4 + laravel: 11 + phpunit: 11.3 exclude: - php: 8.1 laravel: 11 @@ -44,11 +48,10 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit -c phpunit.xml.dist + run: vendor/bin/phpunit -c phpunit.xml.dist --fail-on-deprecation --display-deprecations stub-tests: runs-on: ubuntu-22.04 @@ -56,8 +59,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2] - laravel: [10] + php: [8.2, 8.3] + laravel: [10, 11] name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}