Skip to content

Commit

Permalink
Revert "Remove PHPUnit 7 installation"
Browse files Browse the repository at this point in the history
This reverts commit 9dae10f.
  • Loading branch information
alecgeatches committed Apr 22, 2024
1 parent 9dae10f commit 5637568
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
ini-values: ${{ matrix.ini-values }}
coverage: ${{ matrix.coverage }}

- name: Install PHPUnit 7.x for WP < 5.9
if: ${{ matrix.wordpress < 5.9 }}
# Ignore platform requirements, so that PHPUnit 7.5 can be installed on PHP 8.0 (and above).
run: composer require --dev phpunit/phpunit:"^7.5" --ignore-platform-req=php+ --no-update --no-scripts --no-interaction

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
Expand Down

0 comments on commit 5637568

Please sign in to comment.