Bump the npm_and_yarn group in /admin/discourse-sidebar with 2 updates #252
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: WP-Discourse Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Tests on PHP ${{ matrix.php }} | |
strategy: | |
matrix: | |
php: ['8.2'] | |
wordpress: ['latest'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install Composer | |
uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: 'highest' | |
composer-options: '--ignore-platform-reqs' | |
- name: PHPUnit | |
run: | | |
sudo /etc/init.d/mysql start | |
bash bin/install-wp-tests.sh wordpress_test root 'root' localhost ${{ matrix.wordpress }} | |
vendor/bin/phpunit | |
- name: PHPUnit Multisite | |
run: | | |
vendor/bin/phpunit -c tests/phpunit/multisite.xml |