Make WordPress Core

Ticket #53891: 53891-ghactions-change.patch

File 53891-ghactions-change.patch, 2.0 KB (added by jrf, 3 years ago)
  • .github/workflows/phpunit-tests.yml

    From 3738ba2e4a6e902d651ac39c262669db56b2f23a Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Sat, 7 Aug 2021 02:28:05 +0200
    Subject: [PATCH] Build/Tests: enable testing against PHP 8.1
    
    PHP 8.1 is expected to be released end of November. Enabling the tests to run in CI on PHP 8.1 will allow us to get ready in time.
    
    These builds are, for now, still allowed to fail.
    ---
     .github/workflows/phpunit-tests.yml | 7 +++++--
     tools/local-env/php-config.ini      | 1 +
     2 files changed, 6 insertions(+), 2 deletions(-)
    
    diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml
    index b368524ca5..01581431ae 100644
    a b jobs: 
    6363    strategy:
    6464      fail-fast: false
    6565      matrix:
    66         php: [ '5.6.20', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
     66        php: [ '5.6.20', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
    6767        os: [ ubuntu-latest ]
    6868        memcached: [ false ]
    6969        split_slow: [ false ]
    jobs: 
    9595            memcached: false
    9696            multisite: false
    9797            report: true
     98
     99    continue-on-error: ${{ matrix.php == '8.1' }}
     100
    98101    env:
    99102      LOCAL_PHP: ${{ matrix.php }}-fpm
    100103      LOCAL_PHP_MEMCACHED: ${{ matrix.memcached }}
    jobs: 
    142145          docker-compose run --rm php composer --version
    143146
    144147          # Install using `composer update` as there is no `composer.lock` file.
    145           if [ ${{ env.LOCAL_PHP }} == '8.0-fpm' ]; then
     148          if [ ${{ env.LOCAL_PHP }} == '8.1-fpm' ]; then
    146149            docker-compose run --rm php composer update --ignore-platform-reqs
    147150          else
    148151            docker-compose run --rm php composer update
  • tools/local-env/php-config.ini

    diff --git a/tools/local-env/php-config.ini b/tools/local-env/php-config.ini
    index 1f385e924c..4e5efb30d6 100644
    a b  
     1error_reporting = -1
    12upload_max_filesize = 1G
    23post_max_size = 1G