Skip to content

Commit

Permalink
Tests with PHP 8 (#80)
Browse files Browse the repository at this point in the history
* Tests with PHP 8

* Update main.yml

* Update composer.json

* Update main.yml

* Update composer.json

* Update composer.json

* Update main.yml
  • Loading branch information
sausin authored Apr 5, 2021
1 parent 3af3e64 commit 3d842d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4]
illuminate: [5.8.*, 6.*, 7.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
php: [7.4, 8.0]
illuminate: [7.*, 8.*]
exclude:
- illuminate: 7.*
php: 8.0
dependency-version: [prefer-stable]

name: P${{ matrix.php }} - L${{ matrix.illuminate }} - ${{ matrix.dependency-version }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
},
"require": {
"php": "^7.4|^8.0",
"illuminate/console": "^5.8|^6.0|^7.0|^8.0",
"illuminate/support": "^5.8|^6.0|^7.0|^8.0",
"illuminate/console": "^7.0|^8.0",
"illuminate/support": "^7.0|^8.0",
"nimbusoft/flysystem-openstack-swift": "^0.3.3"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.3 >= 1.3.1",
"friendsofphp/php-cs-fixer": "^2.18",
"brainmaestro/composer-git-hooks": "^2.8",
"league/flysystem-cached-adapter": "^1.0 >= 1.0.2",
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0"
"orchestra/testbench": "^5.0|^6.0"
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 3d842d1

Please sign in to comment.