Skip to content

Commit

Permalink
chore(ci): enable tests for php 8.3 and laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzarbn committed Mar 30, 2024
1 parent 794c135 commit 94aab34
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 3 deletions.
103 changes: 101 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.3', '7.4', '8.0', '8.1', '8.2' ]
laravel-version: [ '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0' ]
php-version: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
laravel-version: [ '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0', '^10.0', '^11.0' ]
database: [ 'sqlite', 'mysql', 'pgsql' ]
exclude:
- php-version: '7.3'
Expand All @@ -27,6 +27,24 @@ jobs:
- php-version: '7.3'
laravel-version: '^9.0'
database: 'pgsql'
- php-version: '7.3'
laravel-version: '^10.0'
database: 'sqlite'
- php-version: '7.3'
laravel-version: '^10.0'
database: 'mysql'
- php-version: '7.3'
laravel-version: '^10.0'
database: 'pgsql'
- php-version: '7.3'
laravel-version: '^11.0'
database: 'sqlite'
- php-version: '7.3'
laravel-version: '^11.0'
database: 'mysql'
- php-version: '7.3'
laravel-version: '^11.0'
database: 'pgsql'
- php-version: '7.4'
laravel-version: '5.7.*'
database: 'sqlite'
Expand All @@ -45,6 +63,24 @@ jobs:
- php-version: '7.4'
laravel-version: '^9.0'
database: 'pgsql'
- php-version: '7.4'
laravel-version: '^10.0'
database: 'sqlite'
- php-version: '7.4'
laravel-version: '^10.0'
database: 'mysql'
- php-version: '7.4'
laravel-version: '^10.0'
database: 'pgsql'
- php-version: '7.4'
laravel-version: '^11.0'
database: 'sqlite'
- php-version: '7.4'
laravel-version: '^11.0'
database: 'mysql'
- php-version: '7.4'
laravel-version: '^11.0'
database: 'pgsql'
- php-version: '8.0'
laravel-version: '5.7.*'
database: 'sqlite'
Expand All @@ -63,6 +99,24 @@ jobs:
- php-version: '8.0'
laravel-version: '5.8.*'
database: 'pgsql'
- php-version: '8.0'
laravel-version: '^10.0'
database: 'sqlite'
- php-version: '8.0'
laravel-version: '^10.0'
database: 'mysql'
- php-version: '8.0'
laravel-version: '^10.0'
database: 'pgsql'
- php-version: '8.0'
laravel-version: '^11.0'
database: 'sqlite'
- php-version: '8.0'
laravel-version: '^11.0'
database: 'mysql'
- php-version: '8.0'
laravel-version: '^11.0'
database: 'pgsql'
- php-version: '8.1'
laravel-version: '5.7.*'
database: 'sqlite'
Expand Down Expand Up @@ -99,6 +153,15 @@ jobs:
- php-version: '8.1'
laravel-version: '^7.0'
database: 'pgsql'
- php-version: '8.1'
laravel-version: '^11.0'
database: 'sqlite'
- php-version: '8.1'
laravel-version: '^11.0'
database: 'mysql'
- php-version: '8.1'
laravel-version: '^11.0'
database: 'pgsql'
- php-version: '8.2'
laravel-version: '5.7.*'
database: 'sqlite'
Expand Down Expand Up @@ -135,6 +198,42 @@ jobs:
- php-version: '8.2'
laravel-version: '^7.0'
database: 'pgsql'
- php-version: '8.3'
laravel-version: '5.7.*'
database: 'sqlite'
- php-version: '8.3'
laravel-version: '5.7.*'
database: 'mysql'
- php-version: '8.3'
laravel-version: '5.7.*'
database: 'pgsql'
- php-version: '8.3'
laravel-version: '5.8.*'
database: 'sqlite'
- php-version: '8.3'
laravel-version: '5.8.*'
database: 'mysql'
- php-version: '8.3'
laravel-version: '5.8.*'
database: 'pgsql'
- php-version: '8.3'
laravel-version: '^6.0'
database: 'sqlite'
- php-version: '8.3'
laravel-version: '^6.0'
database: 'mysql'
- php-version: '8.3'
laravel-version: '^6.0'
database: 'pgsql'
- php-version: '8.3'
laravel-version: '^7.0'
database: 'sqlite'
- php-version: '8.3'
laravel-version: '^7.0'
database: 'mysql'
- php-version: '8.3'
laravel-version: '^7.0'
database: 'pgsql'

name: Tests on PHP ${{ matrix.php-version }} with Laravel ${{ matrix.laravel-version }} and ${{ matrix.database }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0",
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0"
},
"autoload": {
Expand Down

0 comments on commit 94aab34

Please sign in to comment.