Make WordPress Core


Ignore:
Timestamp:
03/26/2021 08:02:01 PM (5 years ago)
Author:
desrosj
Message:

Build/Test Tools: Backport GitHub Action and build improvements to the 5.2 branch.

This backports several build and test tool improvements to the 5.2 branch. Most notably, this includes:

  • The changes required to allow each workflow to be triggered by the workflow_dispatch event so that tests can be run on a schedule [50590].
  • The ability to run PHPUnit tests from src instead of build [50441-50443].
  • Splitting single site and multisite tests into parallel jobs [50379].
  • Split slow tests into separate, parallel jobs for PHP 5.6 [50444].
  • Better branch and path scoping for GitHub Action workflows when running on pull_request [50432,50479].
  • Several devDependency updates.

Merges [50267,50299,50379,50387,50413,50416,50432,50435-50436,50441-50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50598] to the 5.2 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/tests/phpunit/tests/formatting/Emoji.php

    r45134 r50606  
    1414         */
    1515        public function test_unfiltered_emoji_cdns() {
     16                // `_print_emoji_detection_script()` assumes `wp-includes/js/wp-emoji-loader.js` is present:
     17                self::touch( ABSPATH . WPINC . '/js/wp-emoji-loader.js' );
    1618                $output = get_echo( '_print_emoji_detection_script' );
    1719
     
    3234                add_filter( 'emoji_svg_url', array( $this, '_filtered_emoji_svn_cdn' ) );
    3335
     36                // `_print_emoji_detection_script()` assumes `wp-includes/js/wp-emoji-loader.js` is present:
     37                self::touch( ABSPATH . WPINC . '/js/wp-emoji-loader.js' );
    3438                $output = get_echo( '_print_emoji_detection_script' );
    3539
     
    5357                add_filter( 'emoji_url', array( $this, '_filtered_emoji_png_cdn' ) );
    5458
     59                // `_print_emoji_detection_script()` assumes `wp-includes/js/wp-emoji-loader.js` is present:
     60                self::touch( ABSPATH . WPINC . '/js/wp-emoji-loader.js' );
    5561                $output = get_echo( '_print_emoji_detection_script' );
    5662
Note: See TracChangeset for help on using the changeset viewer.