From 1c51a5fa12131565fe3860705163e53d7a26258a Mon Sep 17 00:00:00 2001 From: Niels Date: Mon, 9 Nov 2020 15:02:11 +0100 Subject: [PATCH] run test suite with PHP8 --- .github/workflows/run-tests-L7.yml | 2 +- .github/workflows/run-tests-L8.yml | 4 ++-- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests-L7.yml b/.github/workflows/run-tests-L7.yml index 75baade7d..9e07c69e0 100644 --- a/.github/workflows/run-tests-L7.yml +++ b/.github/workflows/run-tests-L7.yml @@ -42,7 +42,7 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest + composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests run: vendor/bin/phpunit diff --git a/.github/workflows/run-tests-L8.yml b/.github/workflows/run-tests-L8.yml index d9dd5fe72..d8844b560 100644 --- a/.github/workflows/run-tests-L8.yml +++ b/.github/workflows/run-tests-L8.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.4, 7.3] + php: [8.0, 7.4, 7.3] laravel: [8.*] dependency-version: [prefer-lowest, prefer-stable] include: @@ -38,7 +38,7 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest + composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 4ccee4679..f4ed271e8 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } ], "require": { - "php" : "^7.2.5", + "php" : "^7.2.5|^8.0", "illuminate/auth": "^5.8|^6.0|^7.0|^8.0", "illuminate/container": "^5.8|^6.0|^7.0|^8.0", "illuminate/contracts": "^5.8|^6.0|^7.0|^8.0",