diff --git a/.github/workflows/php-qa.yml b/.github/workflows/php-qa.yml index d87d870..bac1697 100644 --- a/.github/workflows/php-qa.yml +++ b/.github/workflows/php-qa.yml @@ -103,7 +103,11 @@ jobs: coverage: ${{ ((env.USE_COVERAGE == 'yes') && 'xdebug') || 'none' }} - name: Adjust WP version - run: composer require --dev --no-update "roots/wordpress-no-content:${{ matrix.wp-ver }}" + run: | + composer remove --dev --no-update "roots/wordpress-no-content" + composer remove --dev --no-update "phpunit/phpunit" + composer require --no-update "roots/wordpress-no-content:${{ matrix.wp-ver }}" + composer require --no-update "phpunit/phpunit:^7.5.20 || ^9.6.4" - name: Install dependencies uses: ramsey/composer-install@v2 diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 87ea898..93b7d5c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,5 +1,7 @@ - ./ + ./wordpress-early-hook.php