Skip to content

Commit 618911a

Browse files
authored
Enable PHP 8.0 build (#1129)
* WIP * Trigger notification * Update run-integration-tests.yml * Update composer.json * Update run-integration-tests.yml
1 parent 9bddf89 commit 618911a

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/run-integration-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,15 @@ jobs:
1818
COMPOSER_NO_INTERACTION: 1
1919
strategy:
2020
matrix:
21-
php: [7.4, 7.3, 7.2]
22-
lumen: [7.*, 6.*]
21+
php: [8.0, 7.4, 7.3, 7.2]
22+
lumen: [8.*, 7.*, 6.*]
23+
exclude:
24+
- lumen: 8.*
25+
php: 7.2
26+
- lumen: 7.*
27+
php: 8.0
28+
- lumen: 6.*
29+
php: 8.0
2330
name: P${{ matrix.php }} - Lumen${{ matrix.lumen }}
2431
steps:
2532
- name: Checkout code
@@ -61,7 +68,7 @@ jobs:
6168
COMPOSER_NO_INTERACTION: 1
6269
strategy:
6370
matrix:
64-
php: [7.4, 7.3, 7.2]
71+
php: [8.0, 7.4, 7.3, 7.2]
6572
laravel: [8.*, 7.*, 6.*]
6673
exclude:
6774
- laravel: 8.*

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
php: [7.4, 7.3, 7.2]
22+
php: [8.0, 7.4, 7.3, 7.2]
2323
laravel: [8.*, 6.*, 7.*]
2424
dependency-version: [prefer-lowest, prefer-stable]
2525
exclude:
@@ -38,7 +38,7 @@ jobs:
3838
php-version: ${{ matrix.php }}
3939
coverage: none
4040
tools: composer:v2
41-
41+
4242
- name: Install dependencies
4343
run: |
4444
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"symfony/finder": "^4.3|^5"
2020
},
2121
"require-dev": {
22+
"mockery/mockery": "^1.3.3",
2223
"orchestra/testbench-dusk": "^4|^5|^6",
2324
"phpunit/phpunit": "^8.5|^9.0",
2425
"squizlabs/php_codesniffer": "^3.5"

0 commit comments

Comments
 (0)