Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/05/2022 05:25:42 AM (3 years ago)
Author:
imath
Message:

Update the GH action WP testing matrix, WP PHPunit and @wordpress/env

This commit also fixes:

  • a GH action issue when testing WP < 6.1. In this case we need to downgrade WP PHPunit to a version lower than 6.1.0 to avoid @wordpress/env unit test command to fail (Internal Server Error).
  • the database error when running the BP_Tests_Groups_Functions test.

Closes https://github.com/buddypress/buddypress/pull/34
Fixes #8759

File:
1 edited

Legend:

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

    r13324 r13355  
    1717        include:
    1818          - php: '8.0'
    19             wp_version: '6.0'
     19            wp_version: '6.1'
    2020          - php: '7.4'
    21             wp_version: '6.0'
     21            wp_version: '6.1'
    2222          - php: '7.4'
    2323            wp_version: '5.7'
     
    5656        with:
    5757          composer-options: "--ignore-platform-reqs"
     58
     59      - name: Adapt WP PHPUnit version for WP < 6.1
     60        run: |
     61          if [ ${{ env.WP_VERSION }} == '5.7' ]; then
     62            composer require wp-phpunit/wp-phpunit:6.0 --dev
     63          fi
    5864
    5965      - name: Cache node modules
Note: See TracChangeset for help on using the changeset viewer.