Skip to content

Commit

Permalink
Update test github action to support laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
neemspees committed Aug 22, 2023
1 parent 9cc8ed2 commit 3fbec10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
phpunit: ^10.0
pest: ^2.0
pest-plugin-laravel: ^2.0
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
phpunit: ^9.0
pest: ^1.0
pest-plugin-laravel: ^1.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -46,7 +48,8 @@ jobs:
- name: Install dependencies
run: |
composer require "phpunit/phpunit:${{ matrix.phpunit }}" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require --dev "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-laravel:${{ matrix.pest-plugin-laravel }}"
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 @@ -24,7 +24,7 @@
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.8",
"nunomaduro/collision": "^5.0|^7.8",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.0|^2.0",
Expand Down

0 comments on commit 3fbec10

Please sign in to comment.