Skip to content

Commit

Permalink
coverage: Add missing files/dirs to phpunit configs (#40015)
Browse files Browse the repository at this point in the history
Ideally everything would be under `src/`, but that's not the case for a
bunch of our packages and plugins.

Also annoying is that PHPUnit doesn't allow globs in `<file>`, so we
have to list any root-level files individually.

There are still some root-level files not touched here that might be,
e.g. `actions.php` files in a few packages or most plugins' entry point
files. Not sure if those should be included or not.

Also, it turns out an earlier PR broke wpcomsh tests. Fix them, and make
lack of `WP_TESTS_CONFIG_FILE_PATH` actually fail the tests.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11644711506

Upstream-Ref: Automattic/jetpack@03c41e4
  • Loading branch information
anomiex authored and matticbot committed Nov 2, 2024
1 parent b9b353e commit 50c4311
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 83 deletions.
2 changes: 1 addition & 1 deletion jetpack_vendor/i18n-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
),
'jetpack-search-pkg' => array(
'path' => 'jetpack_vendor/automattic/jetpack-search',
'ver' => '0.45.12-alpha1730548010',
'ver' => '0.45.12-alpha1730570272',
),
'jetpack-stats' => array(
'path' => 'jetpack_vendor/automattic/jetpack-stats',
Expand Down
60 changes: 30 additions & 30 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats",
"reference": "da1920a3d371c7b4c65faee524f836bf7b461525"
"reference": "8a6aaec35a69720bd059ff3d92bc146458dbb96a"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -63,7 +63,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui",
"reference": "0dc594e1608ededc70f6c36b0e5db8fb0c35ffcd"
"reference": "dcc0fe109d7c89b0a09c68120b5db28ba61cd8bf"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -131,7 +131,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "d173c08da8842513d203da14e3d9819b6be88e4e"
"reference": "7588f8dd96e6be7c9dc93a8f01c30d848ad9fb4f"
},
"require": {
"automattic/jetpack-constants": "^2.0.5-alpha",
Expand Down Expand Up @@ -204,7 +204,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-autoloader",
"reference": "4a9b131dedcf1c7419a2cb3ac6c01cdb1d51f392"
"reference": "d897798f3ac8a2e3ad852c49c6314e15e5be2768"
},
"require": {
"composer-plugin-api": "^1.1 || ^2.0",
Expand Down Expand Up @@ -275,7 +275,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-core",
"reference": "f25652e02c7adcba71df87035cf6daca0410a930"
"reference": "80e1455558e2e3ab8da8e6e067ed5ff619c74e53"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -346,7 +346,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score",
"reference": "54fd10a573c48b1ceafb6311c9da430b186b8ee1"
"reference": "79536b899ea3a659d2041fc71ae0519fc9f7477d"
},
"require": {
"automattic/jetpack-boost-core": "^0.2.14-alpha",
Expand Down Expand Up @@ -425,7 +425,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
"reference": "bb3e66846b6b9893b048e498ffee6f5efb65e8f4"
"reference": "9eb38ae1cd71194943ed4ad5092382ab0bd519f1"
},
"require": {
"composer-plugin-api": "^2.1.0",
Expand Down Expand Up @@ -488,7 +488,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-config",
"reference": "19ea86055f2ca32caba1ff52570b07f4c204aabd"
"reference": "e78761b0f49e3366515c7926760cef9e20f98129"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -563,7 +563,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-connection",
"reference": "963257b053e47d20aae4e918cb56584c407e6a8a"
"reference": "791f2249d3b679a3ccde583975e58e54ee0d8e8c"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.4-alpha",
Expand Down Expand Up @@ -656,7 +656,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "800489a5a43eb79a9fe01bd71b15703b0fa9120f"
"reference": "a3003caf2aeb057b267c651ff764f174fe711dca"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -713,7 +713,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "61cad74f1f4b00bb261c1b0272c50d7b8a661fe7"
"reference": "1004a1fd197792df82ed8aa728b79bc19c5f2749"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -769,7 +769,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-explat",
"reference": "b96e18bb5cf02e28f73fc8fd13428924487db923"
"reference": "741fa02a17035bd67771b62b49d24c5665591b79"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -848,7 +848,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-ip",
"reference": "aa03146c7f8be123df81f09fd0c0de397995e48d"
"reference": "7c4d15852f86ccfad6593ff5843a21a263d059e3"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -909,7 +909,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-jitm",
"reference": "737b34757e12f074dfb05a1c1c88c6a4c029400f"
"reference": "702920e63cba7bbad38cd7fa60cba95ae1d28469"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.4-alpha",
Expand Down Expand Up @@ -987,7 +987,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-licensing",
"reference": "d77c956d41a1a7c9793da3f76222cea91fcb0458"
"reference": "cfd17eaf7cdc295c34905aea35649fcc75ffbe20"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -1052,7 +1052,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-logo",
"reference": "5a3ba47f43aa5328b36d07d5b44e7e855e157e8d"
"reference": "21a0a78d426259c06e1bc9c7f923a23d1cd5af21"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1108,7 +1108,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack",
"reference": "4a054bd9177ca2be9e958d4983dfa131787d4704"
"reference": "cd21f5ef7486277946d3458596266b9344aefb94"
},
"require": {
"automattic/jetpack-admin-ui": "^0.4.6-alpha",
Expand Down Expand Up @@ -1214,7 +1214,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-password-checker",
"reference": "f57fdf73befe63b142cf1deefe86183bc7b73845"
"reference": "b7034cc5e0ac1cbfb41d39b1795836dfb9a3a85c"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1278,7 +1278,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plans",
"reference": "271a1d8f9d8187a9a6b8b98635206002fc004072"
"reference": "eab7d1a72ce99df2dc0e83fa480c41d54fa74446"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -1349,7 +1349,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer",
"reference": "614a3c6617b38fdfe28ff93ca3e24a5af959d7e5"
"reference": "4eab695229ceb3438edb7faf80cfd10c940e9ffe"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^2.0.4-alpha",
Expand Down Expand Up @@ -1408,7 +1408,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-models",
"reference": "e7844a6c8d12c4ae18b5fd6529e3ee3f967038fa"
"reference": "ee87935445144dbf902b79a6e1d0f87202c6cf39"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1481,7 +1481,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-status",
"reference": "bb2214abadc9d53d43140989f12dfd19310b5306"
"reference": "c6d2bfe3c82ad4291704a8d5f0adf882da24bd49"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -1559,7 +1559,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-redirect",
"reference": "c696187a1c47a445dabb1f33af4e970e27f57ff3"
"reference": "017d2f8b82dd9ca9e1dbcaef7557f8e94dd16c9c"
},
"require": {
"automattic/jetpack-status": "^4.0.3-alpha",
Expand Down Expand Up @@ -1617,7 +1617,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-roles",
"reference": "fc89b774e7d3dce9b58c0a178d3ccc0d23830318"
"reference": "c0c9b02f1391c41c8902b6c61ea2c17ef82571bd"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -1669,12 +1669,12 @@
},
{
"name": "automattic/jetpack-search",
"version": "0.45.12-alpha.1730548010",
"version_normalized": "0.45.12.0-alpha1730548010",
"version": "0.45.12-alpha.1730570272",
"version_normalized": "0.45.12.0-alpha1730570272",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-search",
"reference": "6b115c419a4ffba97ebbf22d81d6f2d251d6e032"
"reference": "fa3d7ea14bbbb04b8e252238f83f7aca32ae47d0"
},
"require": {
"automattic/jetpack-assets": "^2.3.13-alpha",
Expand Down Expand Up @@ -1766,7 +1766,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-stats",
"reference": "559ceb3cc56b186c72f69d81b84f12385c89baa9"
"reference": "b9c9bb44960bb55457ac8861df06ce12eb6d879b"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down Expand Up @@ -1836,7 +1836,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-status",
"reference": "ef52cd949f299ca9dd9e028390ea2f75131a1e6a"
"reference": "474348c8b72506aa7ee56c3bb2a8d9173b33506f"
},
"require": {
"automattic/jetpack-constants": "^2.0.5-alpha",
Expand Down Expand Up @@ -1903,7 +1903,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-sync",
"reference": "3039e95295f064c1e349dd3dbc9790cca4292e10"
"reference": "855b9317424a3dff742cb4254c21f5c1b32e02f8"
},
"require": {
"automattic/jetpack-connection": "^5.1.6-alpha",
Expand Down
Loading

0 comments on commit 50c4311

Please sign in to comment.