new test added.

This commit is contained in:
Geoff Taylor
2020-05-11 21:24:34 -04:00
committed by Geoff Taylor
parent b55acb9435
commit 7fa4603a9b
17 changed files with 215 additions and 56 deletions
+7 -14
View File
@@ -20,39 +20,31 @@ jobs:
debug: 0
strategy:
matrix:
php: ['7.3', '7.2', '7.1', '7.0']
wordpress: ['5.3', '5.0', '4.9']
php: ['7.3', '7.2', '7.1']
wordpress: ['5.3', '5.0']
include:
- php: '7.0'
- php: '7.1'
use_xdebug: 1
- php: '7.0'
- php: '7.1'
wordpress: '5.0'
coverage: 1
- php: '7.3'
wordpress: '5.0'
debug: 1
exclude:
- php: '7.3'
wordpress: '4.9'
- php: '7.2'
wordpress: '4.9'
- php: '7.0'
wordpress: '5.3'
fail-fast: false
name: WordPress ${{ matrix.wordpress }} on PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
ref: ${{ github.base_ref }}
- name: Install PHP
if: matrix.coverage == 1
uses: shivammathur/setup-php@1.7.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
extensions: json, mbstring
- name: Build "testing" Docker Image
@@ -70,6 +62,7 @@ jobs:
-e STRIPE_API_SECRET_KEY=${{ secrets.STRIPE_API_SECRET_KEY }} \
-e COVERAGE=${{ matrix.coverage }} \
-e DEBUG=${{ matrix.debug }} \
-e SKIP_TESTS_CLEANUP=${{ matrix.coverage }} \
testing --scale app=0
- name: Push Codecoverage to Coveralls.io