|
|
@ -15,7 +15,7 @@ jobs: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
php: [ 7.3 ] |
|
|
|
php: [ 7.3 ] |
|
|
|
os: [ ubuntu-18.04 ] |
|
|
|
os: [ ubuntu-18.04 ] |
|
|
|
wordpress: [ 5.8, latest ] |
|
|
|
wordpress: [ 5.8.1, latest ] |
|
|
|
experimental: [false] |
|
|
|
experimental: [false] |
|
|
|
include: |
|
|
|
include: |
|
|
|
- php: 7.4 |
|
|
|
- php: 7.4 |
|
|
@ -86,6 +86,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Run Coverage |
|
|
|
- name: Run Coverage |
|
|
|
run: composer require pcov/clobber; vendor/bin/pcov clobber; vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml |
|
|
|
run: composer require pcov/clobber; vendor/bin/pcov clobber; vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml |
|
|
|
|
|
|
|
if: matrix.experimental == false |
|
|
|
|
|
|
|
|
|
|
|
- name: Run Frontend Tests |
|
|
|
- name: Run Frontend Tests |
|
|
|
run: npm run test |
|
|
|
run: npm run test |
|
|
@ -96,6 +97,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Upload Coverage to Codecov |
|
|
|
- name: Upload Coverage to Codecov |
|
|
|
run: bash <(curl -s https://codecov.io/bash) |
|
|
|
run: bash <(curl -s https://codecov.io/bash) |
|
|
|
|
|
|
|
if: matrix.experimental == false |
|
|
|
|
|
|
|
|
|
|
|
- name: Prepare Build |
|
|
|
- name: Prepare Build |
|
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
|