Skip to content

Various fixes and label plus version numbering #41

Various fixes and label plus version numbering

Various fixes and label plus version numbering #41

Workflow file for this run

name: PHPUnit
on: [pull_request]
jobs:
php-unit-tests:
runs-on: ubuntu-latest
name: PHPUnit Tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: |
yarn
yarn build
composer install
- name: Start wp-env
run: |
yarn wp-env
yarn wp-env:start
yarn wp-env:theme
yarn wp-env:permalinks
- name: Install test dependencies
run: |
yarn wp-env:composer-install
- name: Run tests
run: |
yarn wp-env:phpunit