diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 125d9e6..7724e5e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,11 @@ jobs: restore-keys: test-phpunit-dependencies-${{ hashFiles('composer.json') }} - name: Install Composer dependencies run: composer install + - name: Install WP-CLI + run: | + curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar + chmod +x wp-cli.phar + sudo mv wp-cli.phar /usr/local/bin/wp - name: Run PHPUnit run: bash ./bin/phpunit-test.sh