Skip to content

Commit

Permalink
[7.x] Laravel v10 support (#1015)
Browse files Browse the repository at this point in the history
* Update tests.yml

* Update composer.json

* Update tests.yml

* Update tests.yml
  • Loading branch information
driesvints authored Jan 6, 2023
1 parent 8fcd5e1 commit c15e0e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
fail-fast: true
matrix:
php: ['8.0', 8.1, 8.2]
laravel: [9]
laravel: [9, 10]
phpunit: [9]
exclude:
- php: '8.0'
laravel: 10

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

Expand Down Expand Up @@ -50,7 +53,7 @@ jobs:
fail-fast: true
matrix:
php: [8.1]
laravel: [9]
laravel: [^9, 10.x-dev]

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

Expand All @@ -66,7 +69,7 @@ jobs:

- name: Setup Laravel
run: |
composer create-project laravel/laravel:^${{ matrix.laravel }} .
composer create-project laravel/laravel:${{ matrix.laravel }} .
composer require laravel/dusk:* --no-interaction --no-update
composer config repositories.dusk '{"type": "path", "url": "dusk"}' --file composer.json
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"ext-zip": "*",
"php-webdriver/webdriver": "^1.9.0",
"nesbot/carbon": "^2.0",
"illuminate/console": "^9.0",
"illuminate/support": "^9.0",
"illuminate/console": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"symfony/console": "^6.0",
"symfony/finder": "^6.0",
"symfony/process": "^6.0",
Expand All @@ -25,7 +25,7 @@
"require-dev": {
"mockery/mockery": "^1.4.2",
"phpunit/phpunit": "^9.0",
"orchestra/testbench": "^7.0"
"orchestra/testbench": "^7.0|^8.0"
},
"suggest": {
"ext-pcntl": "Used to gracefully terminate Dusk when tests are running."
Expand Down

0 comments on commit c15e0e2

Please sign in to comment.