Skip to content

Commit

Permalink
Update tests (#13)
Browse files Browse the repository at this point in the history
* update tests

* update testbench version

* update github actions
  • Loading branch information
aozisik committed Feb 16, 2023
1 parent 15df21a commit 8531a57
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,28 @@ jobs:
# Disable testing on windows for now...
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php: [7.4, 8.0, 8.1]
laravel: [7.*, 8.*, 9.*]
php: [7.4, 8.0, 8.1, 8.2]
laravel: [7.*, 8.*, 9.*, 10.*]
#stability: [prefer-lowest, prefer-stable]
stability: [prefer-stable]
include:
- laravel: 7.*
- laravel: 8.*
- laravel: 9.*
# Laravel 7 has no support for PHP 8.1
exclude:
- laravel: 7.*
php: 8.1
# Older versions of L7 doesn't support PHP 8
- laravel: 7.*
php: 8
stability: prefer-lowest
# Laravel 7 doesn't support 8.1 or 8.2
- laravel: 7.*
php: 8.1
- laravel: 7.*
php: 8.2
# Laravel 9 doesn't support < PHP 8
- laravel: 9.*
php: 7.4
# Laravel 10 doesn't support < PHP 8.1
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0

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

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 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^5.0|^6.0|^7.0",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.4|^9.0"
},
"autoload": {
Expand Down

0 comments on commit 8531a57

Please sign in to comment.