Skip to content

Commit

Permalink
Enable PHP 8.0 build (barryvdh#1129)
Browse files Browse the repository at this point in the history
* WIP

* Trigger notification

* Update run-integration-tests.yml

* Update composer.json

* Update run-integration-tests.yml
  • Loading branch information
pascalbaljet authored Dec 7, 2020
1 parent 9bddf89 commit 618911a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ jobs:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [7.4, 7.3, 7.2]
lumen: [7.*, 6.*]
php: [8.0, 7.4, 7.3, 7.2]
lumen: [8.*, 7.*, 6.*]
exclude:
- lumen: 8.*
php: 7.2
- lumen: 7.*
php: 8.0
- lumen: 6.*
php: 8.0
name: P${{ matrix.php }} - Lumen${{ matrix.lumen }}
steps:
- name: Checkout code
Expand Down Expand Up @@ -61,7 +68,7 @@ jobs:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [7.4, 7.3, 7.2]
php: [8.0, 7.4, 7.3, 7.2]
laravel: [8.*, 7.*, 6.*]
exclude:
- laravel: 8.*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
php: [7.4, 7.3, 7.2]
php: [8.0, 7.4, 7.3, 7.2]
laravel: [8.*, 6.*, 7.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
Expand All @@ -38,7 +38,7 @@ jobs:
php-version: ${{ matrix.php }}
coverage: none
tools: composer:v2

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"symfony/finder": "^4.3|^5"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^4|^5|^6",
"phpunit/phpunit": "^8.5|^9.0",
"squizlabs/php_codesniffer": "^3.5"
Expand Down

0 comments on commit 618911a

Please sign in to comment.