From 44bb7a4dd571096b11dc3365bbe43f1507517b79 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 8 Apr 2021 12:06:08 +0200 Subject: [PATCH 1/2] php: Also test on PHP 8 --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f2714afa..214bd308 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] + php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] os: ['ubuntu-latest'] include: - php: '5.6' @@ -56,7 +56,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] + php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] os: ['ubuntu-latest'] include: - php: '5.6' From c23bddcd58fbf6c622291806496b7f74318b2033 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 8 Apr 2021 12:12:14 +0200 Subject: [PATCH 2/2] php: Use phpunit v8 on PHP 7.2+ --- .github/workflows/php.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 214bd308..ec27b54d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} env: - phpunit-version: 7.5.20 + phpunit-version: 8.5.15 strategy: fail-fast: false @@ -63,6 +63,8 @@ jobs: phpunit-version: 5.7.27 - php: '7.0' phpunit-version: 6.5.14 + - php: '7.1' + phpunit-version: 7.5.20 steps: - name: Checkout code base