From 6923c8a422a1a490fe4519f65767f27f455100b6 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 21 Apr 2021 14:58:29 -0400 Subject: [PATCH 1/2] Add PHP8 to CI. Start to get PHP8 compatibility issues sorted now that enqueue supports php8. Refs #55 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a1f5cb4..c05432e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.2', '7.4'] + php-version: ['7.2', '7.4', '8.0'] prefer-lowest: [''] include: - php-version: '7.2' From 0a3be5e684f254b56a65549951d1b6f22ba58e52 Mon Sep 17 00:00:00 2001 From: othercorey Date: Wed, 21 Apr 2021 14:09:13 -0500 Subject: [PATCH 2/2] Fix code coverage report --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c05432e..6f65f50 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then composer update --prefer-lowest --prefer-stable else - composer install + composer update fi - name: Run PHPUnit @@ -61,7 +61,7 @@ jobs: fi - name: Code Coverage Report - if: success() && matrix.php-version == '7.4' && matrix.db-type == 'mysql' + if: success() && matrix.php-version == '7.4' uses: codecov/codecov-action@v1 cs-stan: