Build/Test Tools: Backport GitHub Action and build improvements to the 5.5 branch.
This backports several build and test tool improvements to the 5.5 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,50592,50598] to the 5.5 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667, #52786.
Built from https://develop.svn.wordpress.org/branches/5.5@50603
git-svn-id: http://core.svn.wordpress.org/branches/5.5@50216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 18:49:17 +01:00
|
|
|
!function(i){var s={};function o(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=s,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(i,s,function(t){return e[t]}.bind(null,s));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=29)}(Array(29).concat([function(t,e,i){t.exports=i(30)},function(t,e,i){var s,o,n,a=wp.media,r=jQuery;a.isTouchDevice="ontouchend"in document,n=a.view.l10n=window._wpMediaViewsL10n||{},a.view.settings=n.settings||{},delete n.settings,a.model.settings.post=a.view.settings.post,r.support.transition=(s=document.documentElement.style,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},(n=_.find(_.keys(o),function(t){return!_.isUndefined(s[t])}))&&{end:o[n]}),a.events=_.extend({},Backbone.Events),a.transition=function(t,e){var i=r.Deferred();return e=e||2e3,r.support.transition?((t=!(t instanceof r)?r(t):t).first().one(r.support.transition.end,i.resolve),_.delay(i.resolve,e)):i.resolve(),i.promise()},a.controller.Region=i(31),a.controller.StateMachine=i(32),a.controller.State=i(33),a.selectionSync=i(34),a.controller.Library=i(35),a.controller.ImageDetails=i(36),a.controller.GalleryEdit=i(37),a.controller.GalleryAdd=i(38),a.controller.CollectionEdit=i(39),a.controller.CollectionAdd=i(40),a.controller.FeaturedImage=i(41),a.controller.ReplaceImage=i(42),a.controller.EditImage=i(43),a.controller.MediaLibrary=i(44),a.controller.Embed=i(45),a.controller.Cropper=i(46),a.controller.CustomizeImageCropper=i(47),a.controller.SiteIconCropper=i(48),a.View=i(49),a.view.Frame=i(50),a.view.MediaFrame=i(51),a.view.MediaFrame.Select=i(52),a.view.MediaFrame.Post=i(53),a.view.MediaFrame.ImageDetails=i(54),a.view.Modal=i(55),a.view.FocusManager=i(56),a.view.UploaderWindow=i(57),a.view.EditorUploader=i(58),a.view.UploaderInline=i(59),a.view.UploaderStatus=i(60),a.view.UploaderStatusError=i(61),a.view.Toolbar=i(62),a.view.Toolbar.Select=i(63),a.view.Toolbar.Embed=i(64),a.view.Button=i(65),a.view.ButtonGroup=i(66),a.view.PriorityList=i(67),a.view.MenuItem=i(68),a.view.Menu=i(69),a.view.RouterItem=i(70),a.view.Router=i(71),a.view.Sidebar=i(72),a.view.Attachment=i(73),a.view.Attachment.Library=i(74),a.view.Attachment.EditLibrary=i(75),a.view.Attachments=i(76),a.view.Search=i(77),a.view.AttachmentFilters=i(78),a.view.DateFilter=i(79),a.view.AttachmentFilters.Uploaded=i(80),a.view.AttachmentFilters.All=i(81),a.view.AttachmentsBrowser=i(82),a.view.Selection=i(83),a.view.Attachment.Selection=i(84),a.view.Attachments.Selection=i(85),a.view.Attachment.EditSelection=i(86),a.view.Settings=i(87),a.view.Settings.AttachmentDisplay=i(88),a.view.Settings.Gallery=i(89),a.view.Settings.Playlist=i(90),a.view.Attachment.Details=i(91),a.view.AttachmentCompat=i(92),a.view.Iframe=i(93),a.view.Embed=i(94),a.view.Label=i(95),a.view.EmbedUrl=i(96),a.view.EmbedLink=i(97),a.view.EmbedImage=i(98),a.view.ImageDetails=i(99),a.view.Cropper=i(100),a.view.SiteIconCropper=i(101),a.view.SiteIconPreview=i(102),a.view.EditImage=i(103),a.view.Spinner=i(104),a.view.Heading=i(105)},function(t,e){function i(t){_.extend(this,_.pick(t||{},"id","view","selector"))}i.extend=Backbone.Model.extend,_.extend(i.prototype,{mode:function(t){return t?(t===this._mode||(this.trigger("deactivate"),this._mode=t,this.render(t),this.trigger("activate")),this):this._mode},render:function(t){if(t&&t!==this._mode)return this.mode
|