Skip to content

Commit

Permalink
[Breaking] Add support for Laravel 11 with php 8.3, remove old larave…
Browse files Browse the repository at this point in the history
…l versions < L10 (#11)

* Fix: Add support for laravel 11, test on php 8.3

* Breaking: remove old laravel versions

* exclude L11 for PHP 8.1

* Updated orchestra/testbench for L11 and removed old versions

* PHPUnit 10.x doesn't have --verbose flag

---------

Co-authored-by: Syed Sirajul Islam Anik <sirajul.islam.anik@gmail.com>
  • Loading branch information
steache and ssi-anik authored Mar 17, 2024
1 parent 8759b81 commit 170f9ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 30 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/standard-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,11 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 ]
laravel: [ 6, 7, 8, 9, 10 ]
php: [ 8.1, 8.2, 8.3 ]
laravel: [ 10, 11 ]
exclude:
- php: 8.1
laravel: 6
- php: 8.2
laravel: 6
- php: 8.1
laravel: 7
- php: 8.2
laravel: 7
- php: 7.2
laravel: 8
- php: 7.2
laravel: 9
- php: 7.3
laravel: 9
- php: 7.4
laravel: 9
- php: 7.2
laravel: 10
- php: 7.3
laravel: 10
- php: 7.4
laravel: 10
- php: 8.0
laravel: 10
laravel: 11

steps:
- name: Checkout code
Expand All @@ -76,7 +54,7 @@ jobs:
composer require illuminate/support:^${{ matrix.laravel }} --no-interaction --prefer-dist
- name: Run tests
run: ./vendor/bin/phpunit --testdox --verbose
run: ./vendor/bin/phpunit --testdox

coverage:
needs: tests
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
],
"minimum-stability": "stable",
"require": {
"php": "^7.2|^8.0",
"php": "^8.1",
"anik/amqp": "^2.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0"
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0"
"phpunit/phpunit": "^10.0",
"orchestra/testbench": "^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 170f9ea

Please sign in to comment.