Skip to content

Commit

Permalink
Add php 8.0 to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandhi11 committed Jun 10, 2021
1 parent 2e02fbf commit 2885917
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4]
php: [7.2, 7.3, 7.4, 8.0]
laravel: [6.*, 7.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
Expand Down Expand Up @@ -42,6 +42,10 @@ jobs:
extensions: json, dom, curl, libxml, mbstring
coverage: none

- name: Contraint HTML Collective on PHP 8
if: ${{matrix.php == '8.0'}}
run: composer require "laravelcollective/html:^6.2.1" --no-interaction --no-update

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"require": {
"php": ">=7.2",
"illuminate/support": "^6.0|^7.0|^8.0",
"laravelcollective/html": "^6.0|^7.0|^8.0"
"laravelcollective/html": "^6.0"
},
"require-dev": {
"mockery/mockery": "^1.3",
"phpunit/phpunit": "^8.0",
"orchestra/testbench" : "^4.0|^5.0|^6.0",
"squizlabs/php_codesniffer": "^3.3.2"
"squizlabs/php_codesniffer": "^3.6.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2885917

Please sign in to comment.