WIP of the updated EPIO Search library #572
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: PHPUnit tests | |
on: pull_request | |
jobs: | |
phpunit: | |
name: phpunit | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: ['7.4', '8.0', '8.2'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set PHP version | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
- name: npm install | |
run: npm install | |
- name: composer install | |
run: cd ./wp/headless-wp && composer install --ignore-platform-reqs | |
- name: Run tests | |
run: npm run test:php -w=wp/headless-wp |