mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
new test added.
This commit is contained in:
committed by
Geoff Taylor
parent
b55acb9435
commit
7fa4603a9b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user