Skip to content

Commit

Permalink
use new testbench
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-w committed Mar 11, 2024
1 parent d7d1f25 commit c26eeef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ jobs:
os: [ubuntu-latest]
php: [8.3, 8.2, 8.1]
laravel: [10.*, 11.*]
testbench: [8.*, 9.*]
stability: [prefer-stable]
exclude:
- laravel: 10.*
testbench: 9.*
- laravel: 11.*
testbench: 8.*
php: 8.1

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }}
Expand All @@ -37,7 +41,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"friendsofphp/php-cs-fixer": "^3.8",
"larastan/larastan": "^2.9",
"nunomaduro/collision": "^7.0|^8.1",
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0"
},
"suggest": {
Expand Down

0 comments on commit c26eeef

Please sign in to comment.