Skip to content

["PO-252"]("WooCommerce : add isset validation for webhook payload") #1318

["PO-252"]("WooCommerce : add isset validation for webhook payload")

["PO-252"]("WooCommerce : add isset validation for webhook payload") #1318

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
services:
mariadb:
image: mariadb
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: root
# Ensure docker waits for mariadb to start
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
- uses: actions/cache@v1
id: cache-composer
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer
- uses: actions/cache@v1
id: cache-wp-cli
with:
path: ~/.wp-cli/cache
key: ${{ runner.os }}-wp-cli
- name: Run tests
run: .github/run-tests