Unit Test: Ensure that apply_filters is extracted, and that the parameters to it are as well. #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
test-php: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: | |
- '7.4' | |
env: | |
WP_ENV_PHP_VERSION: ${{ matrix.php }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
run: npm install | |
- name: Setup Environment | |
run: | | |
rm composer.lock | |
npm run setup | |
- name: Test | |
run: npm run test |