You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ensure(coreConstraint,'composer.json must declare drupal/core.');
232
+
ensure(supportedDrupalLines.length>0,'composer.json must expose at least one supported Drupal core test line.');
199
233
ensure(composer.require['drupal/emulsify_tools'],'composer.json must declare drupal/emulsify_tools.');
200
234
ensure(extractYamlValue(emulsifyInfo,'core_version_requirement')===coreConstraint,'emulsify.info.yml must match composer drupal/core.');
201
235
ensure(extractYamlValue(whiskInfo,'core_version_requirement')===coreConstraint,'whisk.info.yml must match composer drupal/core.');
202
236
ensure(extractYamlDependencyConstraint(emulsifyInfo,'emulsify_tools')===composer.require['drupal/emulsify_tools'],'emulsify.info.yml must match the composer emulsify_tools constraint.');
203
237
ensure(extractYamlDependencyConstraint(whiskInfo,'emulsify_tools')===composer.require['drupal/emulsify_tools'],'whisk.info.yml must match the composer emulsify_tools constraint.');
204
238
ensure(extractYamlDependencyConstraint(whiskInfoStarter,'emulsify_tools')===composer.require['drupal/emulsify_tools'],'whisk.info.emulsify.yml must match the composer emulsify_tools constraint.');
205
-
ensure(themeReadinessWorkflow.includes(`DRUPAL_VERSION: '${minCoreVersion}.*'`),'theme-readiness.yml should smoke test the supported Drupal patch line.');
206
-
ensure(themeReadinessWorkflow.includes("PHP_VERSION: '8.4'"),'theme-readiness.yml should run readiness smoke checks on PHP 8.4.');
ensure(themeReadinessWorkflow.includes("'8.5'"),'theme-readiness.yml should run Drupal 12 readiness smoke checks on PHP 8.5.');
245
+
}
207
246
ensure(themeReadinessWorkflow.includes('- 7.x'),'theme-readiness.yml should run on pushes to 7.x.');
208
247
ensure(themeReadinessWorkflow.includes('- release-7'),'theme-readiness.yml should run on pushes to release-7.');
209
248
ensure(!themeReadinessWorkflow.includes('- 6.x'),'theme-readiness.yml should not keep the retired 6.x release branch trigger.');
210
-
return`Root theme metadata and CI readiness checks align to Drupal ${minCoreVersion} on PHP 8.4.`;
249
+
return`Root theme metadata and CI readiness checks align to Drupal ${supportedDrupalLines.join(', ')} via ${supportedDrupalSmokeTargets.join(', ')} smoke targets.`;
211
250
});
212
251
213
252
runStaticCheck('Package metadata',()=>{
@@ -240,9 +279,12 @@ function runStaticChecks() {
240
279
});
241
280
242
281
runStaticCheck('README version references',()=>{
243
-
ensure(readme.includes(`Drupal ${minCoreVersion}+`),`README.md should mention Drupal ${minCoreVersion}+.`);
282
+
ensure(readme.includes(`Drupal ${minCoreVersion}`),`README.md should mention Drupal ${minCoreVersion}.`);
ensure(readme.includes('Drupal 12'),'README.md should mention Drupal 12 support.');
285
+
}
244
286
ensure(readme.includes(`${rootPackage.version.split('.')[0]}.x series`),`README.md should mention the ${rootPackage.version.split('.')[0]}.x series.`);
245
-
return`README.md matches Drupal ${minCoreVersion}+ and the current major release line.`;
287
+
return`README.md matches the supported Drupal ${supportedDrupalLines.join(', ')} window and the current major release line.`;
0 commit comments