Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
phpunit: [10.5, '11.0']
phpunit: [10.5, 11]
include:
- php: 8.4
laravel: 11
phpunit: 11.3
exclude:
- php: 8.1
laravel: 11
- laravel: 10
phpunit: '11.0'
phpunit: 11

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }}

Expand All @@ -44,7 +48,7 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --with=illuminate/support:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }}
composer update --prefer-dist --no-interaction --no-progress --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }}

- name: Upgrade Chrome Driver
run: php vendor/bin/testbench dusk:chrome-driver --detect
Expand All @@ -56,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 --display-deprecations --fail-on-deprecation
env:
APP_URL: http://127.0.0.1:8000
17 changes: 10 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
phpunit: [10.5, '11.0']
phpunit: [10.5, 11]
include:
- php: 8.4
laravel: 11
phpunit: 11.3
exclude:
- php: 8.1
laravel: 11
- laravel: 10
phpunit: '11.0'
phpunit: 11

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }}

Expand All @@ -44,20 +48,19 @@ 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 --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}"

- name: Execute tests
run: vendor/bin/phpunit -c phpunit.xml.dist
run: vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations --fail-on-deprecation

stub-tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: [8.2]
laravel: [10]
php: [8.2, 8.3, 8.4]
laravel: [10, 11]

name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"guzzlehttp/guzzle": "^7.5",
"illuminate/console": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"php-webdriver/webdriver": "^1.9.0",
"php-webdriver/webdriver": "^1.15.2",
"symfony/console": "^6.2|^7.0",
"symfony/finder": "^6.2|^7.0",
"symfony/process": "^6.2|^7.0",
Expand Down