Skip to:
Content

BuddyPress.org

Changeset 13851


Ignore:
Timestamp:
05/04/2024 01:12:23 PM (6 months ago)
Author:
espellcaste
Message:

Build/Test Tools: Enable running the tests on PHP 8.3.

Enabling the tests to run in CI on PHP 8.3 allows BuddyPress core to start supporting this PHP version.

This also adds composer package validation and checks for Gitignored files.

Props imath
Fixes #9144
Closes https://github.com/buddypress/buddypress/pull/281

Location:
trunk/.github/workflows
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r13850 r13851  
    77    name: PHPCS
    88    runs-on: ubuntu-latest
    9     strategy:
    10       fail-fast: true
    11       matrix:
    12         php: ['8.2']
    139
    1410    steps:
     
    2521        uses: shivammathur/setup-php@v2
    2622        with:
    27           php-version: ${{ matrix.php }}
     23          php-version: 8.3
     24          coverage: none
    2825          tools: composer:v2
    29           coverage: none
     26
     27      - name: Validate Composer
     28        run: composer validate --strict
    3029
    3130      - name: Install dependencies
    3231        uses: ramsey/composer-install@v2
    33         with:
    34           composer-options: "--ignore-platform-reqs"
    3532
    3633      - name: Run PHPCS Escape
  • trunk/.github/workflows/unit-tests.yml

    r13796 r13851  
    1717      fail-fast: false
    1818      matrix:
    19         php: ['7.4', '8.0', '8.1', '8.2']
     19        php: ['7.4', '8.0', '8.1', '8.2', '8.3']
    2020        wp_version: ['master']
    2121        include:
     
    3939        uses: actions/checkout@v3
    4040
     41      - name: Check Gitignored files
     42        run: if [[ ! -z $(git ls-files -i --exclude-standard) ]]; then exit 1; fi
     43
    4144      - name: Setup PHP
    4245        uses: shivammathur/setup-php@v2
    4346        with:
    4447          php-version: ${{ matrix.php }}
     48          extensions: gd, imagick, mysql, zip
     49          coverage: none
    4550          tools: composer:v2
    46           coverage: none
    4751
    4852      - name: Set up Node.js
Note: See TracChangeset for help on using the changeset viewer.