Skip to content

Update docs for WP_REST_Response #21

Update docs for WP_REST_Response

Update docs for WP_REST_Response #21

Workflow file for this run

name: 'Tests'
on:
push:
jobs:
test:
strategy:
matrix:
suite:
- unit
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Configure PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: mbstring, intl
coverage: none
# ------------------------------------------------------------------------------
# Prepare our composer cache directory
# ------------------------------------------------------------------------------
- name: Get Composer Cache Directory
id: get-composer-cache-dir
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v2
id: composer-cache
with:
path: ${{ steps.get-composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --ignore-platform-reqs
- name: Run suites
run: vendor/bin/codecept run ${{ matrix.suite }} --ext DotReporter