Browse Source

Add PHP 8.0 to text matrix

pull/314/head
SteelWagstaff 3 years ago
parent
commit
afda48a0fd
  1. 16
      .github/workflows/.pipeline.yml

16
.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/')

Loading…
Cancel
Save