From afda48a0fde7bd4a4c8243583ea0892608bf52ef Mon Sep 17 00:00:00 2001 From: SteelWagstaff Date: Tue, 1 Feb 2022 21:47:42 -0800 Subject: [PATCH] Add PHP 8.0 to text matrix --- .github/workflows/.pipeline.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/.pipeline.yml b/.github/workflows/.pipeline.yml index b43fa6a..e3ec995 100644 --- a/.github/workflows/.pipeline.yml +++ b/.github/workflows/.pipeline.yml @@ -13,12 +13,12 @@ jobs: strategy: fail-fast: false matrix: - php: [ 7.3 ] + php: [ 7.3, 7.4 ] os: [ ubuntu-20.04 ] wordpress: [ 5.9 ] experimental: [ false ] include: - - php: 7.4 + - php: 8.0 os: ubuntu-20.04 wordpress: latest experimental: true @@ -84,17 +84,17 @@ jobs: - name: Install WP tests run: bash bin/install-wp-tests.sh wordpress_test root root localhost ${{ matrix.wordpress }} - - name: Run PHP Test and PCOV + - name: Run PHP Tests + run: composer test + if: matrix.experimental == true + + - name: Run PHP Tests and PCOV run: composer test-coverage if: matrix.experimental == false - name: Upload Coverage to Codecov run: bash <(curl -s https://codecov.io/bash) - if: matrix.experimental == false - - - name: Run PHP Tests - run: composer test - if: matrix.experimental == true + if: matrix.experimental == false && matrix.php == 7.3 - name: Prepare Build if: startsWith(github.ref, 'refs/tags/')