Merge pull request #190 from 10up/bump/wp-version #402
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: Test | |
on: | |
push: | |
branches: | |
- develop | |
- trunk | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: getong/[email protected] | |
- name: Set PHP version | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
coverage: none | |
- name: Install dependencies | |
run: composer install | |
- name: Setup WP Tests | |
run: bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 | |
- name: PHPUnit | |
run: './vendor/bin/phpunit' |