Skip to:
Content

BuddyPress.org

Changeset 13141


Ignore:
Timestamp:
11/07/2021 06:18:47 PM (3 years ago)
Author:
imath
Message:

Use version 5.4 of wp-phpunit to test WordPress version 5.4

Edits the PHPUnit GitHub action to include a step to force the use of version 5.4 of wp-phpunit when the tested WordPress version is 5.4.

See #8571

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/unit-tests.yml

    r13140 r13141  
    5959          composer-options: "--ignore-platform-reqs"
    6060
     61      - name: Adjust wp-phpunit version
     62        run: if [ ${{ env.WP_VERSION }} == '5.4' ]; then composer require --dev "wp-phpunit/wp-phpunit:5.4"; fi
     63
    6164      - name: Cache node modules
    6265        uses: actions/cache@v2
  • trunk/composer.json

    r12950 r13141  
    3636        "squizlabs/php_codesniffer" : "^3.5.4",
    3737        "wp-coding-standards/wpcs": "*",
    38         "wp-phpunit/wp-phpunit": "^5.7",
     38        "wp-phpunit/wp-phpunit": "^5.8",
    3939        "phpunit/phpunit": "^7.5"
    4040    }
Note: See TracChangeset for help on using the changeset viewer.