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