Skip to content
Snippets Groups Projects
Commit bb6843fb authored by Jonathan Smith's avatar Jonathan Smith
Browse files

Issue #3463494 by jonathan1055, vishalkhode: Gitlab PHPunit job at Next Major...

Issue #3463494 by jonathan1055, vishalkhode: Gitlab PHPunit job at Next Major needs D11-compatible test dependencies
parent 7108a5cf
No related branches found
No related tags found
1 merge request!156#3463494 PHPunit next major customisations
Pipeline #232932 passed
......@@ -58,6 +58,8 @@ variables:
# Show the last two commits. Current directory /builds/project/scheduler ($CI_PROJECT_DIR) is correct.
- git show -2 --stat --oneline
- *show-variables
- cat composer.json
- composer show | awk '$0 ~ /rules|commerce|inline_entity_form|workbench|drush|devel_generate/ {print $1 "\t " $2}'
composer (max PHP version):
# Using when: manual needs 'allow failure: true' otherwise the overall pipeline status shows 'blocked'
......@@ -79,12 +81,15 @@ composer (previous major):
allow_failure: true
composer (next major):
allow_failure: true
rules:
- !reference [ .opt-in-next-major-rule ]
- when: manual
variables:
_LENIENT_ALLOW_LIST: devel,devel_generate,rules,commerce,entity,address,state_machine,entity_reference_revisions,profile,inline_entity_form,token,workbench_moderation,workbench_moderation_actions
allow_failure: true
before_script:
# Swap in a different composer file for Next Major. This loads dev versions or merge-request branches of several
# third-party modules which are required for testing, but which do not have Drupal 11 release yet.
- rm composer.json
- mv composer_next_major.json composer.json
# -------------------------------- VALIDATE ------------------------------------
......
......@@ -5,12 +5,12 @@
"license": "GPL-2.0-or-later",
"homepage": "https://drupal.org/project/scheduler",
"require-dev": {
"drupal/rules": "^3",
"drupal/rules": "^3 || ^4",
"drush/drush": ">=9",
"drupal/devel_generate": ">=4",
"drupal/workbench_moderation": "*",
"drupal/workbench_moderation_actions": "*",
"drupal/commerce": "^2.0"
"drupal/commerce": "^2 || ^3"
},
"repositories": {
"drupal": {
......
{
"name": "drupal/scheduler",
"description": "Automatically publish and unpublish content at specified dates and times.",
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"homepage": "https://drupal.org/project/scheduler",
"require-dev": {
"drupal/rules": "^4@dev",
"drush/drush": ">=9",
"drupal/devel_generate": ">=4",
"drupal/workbench_moderation": "dev-3455329-automated-drupal-11",
"drupal/workbench_moderation_actions": "dev-3435732-automated-drupal-11",
"drupal/commerce": "dev-3462426-drupal-11-compatibility"
},
"repositories": {
"commerce": {
"type": "vcs",
"url": "https://git.drupalcode.org/issue/commerce-3462426.git"
},
"inline_entity_form": {
"type": "vcs",
"url": "https://git.drupalcode.org/issue/inline_entity_form-3438428.git"
},
"workbench_moderation_actions": {
"type": "vcs",
"url": "https://git.drupalcode.org/issue/workbench_moderation_actions-3435732.git"
},
"workbench_moderation": {
"type": "vcs",
"url": "https://git.drupalcode.org/issue/workbench_moderation-3455329"
},
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"_comment": "cSpell:disable",
"authors": [
{
"name": "Eric Schaefer (Eric Schaefer)",
"homepage": "https://www.drupal.org/u/eric-schaefer",
"role": "Maintainer"
},
{
"name": "Jonathan Smith (jonathan1055)",
"homepage": "https://www.drupal.org/u/jonathan1055",
"role": "Maintainer"
},
{
"name": "Pieter Frenssen (pfrenssen)",
"homepage": "https://www.drupal.org/u/pfrenssen",
"role": "Maintainer"
},
{
"name": "Rick Manelius (rickmanelius)",
"homepage": "https://www.drupal.org/u/rickmanelius",
"role": "Maintainer"
}
],
"_comment": "cSpell:enable",
"support": {
"issues": "https://www.drupal.org/project/issues/scheduler",
"source": "https://git.drupalcode.org/project/scheduler"
},
"extra": {
"drush": {
"services": {
"drush.services.yml": "^9 || ^10"
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment