Skip to content

Commit

Permalink
annotate tests requiring 3rd party modules Paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Mar 12, 2024
1 parent b88530b commit a84edf3
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ variables:
OPT_IN_TEST_NEXT_MINOR: '1'
# Opt in to testing $CORE_PREVIOUS_MAJOR (currently Drupal 9.5).
OPT_IN_TEST_PREVIOUS_MAJOR: '1'
# The 4.x branch of the CDN module requires PHP >=8.1, rather than core's >=7.4.
# The current branch of the module requires PHP >=8.1 minimum.
CORE_PREVIOUS_PHP_MIN: '8.1'
# Opt in to testing $CORE_MAJOR_DEVELOPMENT (currently Drupal 11).
OPT_IN_TEST_NEXT_MAJOR: '1'
# OPT_IN_TEST_NEXT_MAJOR: '1'

# This module wants to strictly comply with Drupal's coding standards.
cspell:
allow_failure: false
phpcs:
allow_failure: false
phpstan:
allow_failure: false
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ENV BASE_IMAGE_TAG=${BASE_IMAGE_TAG}

# Install drupal/paragraphs as required by entity_to_text_paragraphs
RUN COMPOSER_MEMORY_LIMIT=-1 composer require "drupal/paragraphs:^1.14"
RUN COMPOSER_MEMORY_LIMIT=-1 composer require --dev "drupal/entity_browser"

# Register the Drupal and DrupalPractice Standard with PHPCS.
RUN ./vendor/bin/phpcs --config-set installed_paths \
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@
"role": "Author & Maintainer"
}
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"support": {
"issues": "https://www.drupal.org/project/issues/factory_lollipop"
},
"license": "GPL-2.0-or-later",
"require-dev": {
"drupal/coder": "^8.3.1"
"drupal/paragraphs": "^1"
},
"config": {
"allow-plugins": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @group factory_lollipop
* @group factory_lollipop_paragraphs
* @group factory_lollipop_example
* @requires module paragraphs
*/
class ParagraphFactoryTest extends LollipopKernelTestBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @group factory_lollipop
* @group factory_lollipop_paragraphs
* @group factory_lollipop_example
* @requires module paragraphs
*/
class ParagraphFieldEntityReferenceFactoryTest extends LollipopKernelTestBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @group factory_lollipop
* @group factory_lollipop_paragraphs
* @group factory_lollipop_example
* @requires module paragraphs
*/
class ParagraphFieldFactoryTest extends LollipopKernelTestBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @group factory_lollipop
* @group factory_lollipop_paragraphs
* @group factory_lollipop_example
* @requires module paragraphs
*/
class ParagraphTypeFactoryTest extends LollipopKernelTestBase {

Expand Down

0 comments on commit a84edf3

Please sign in to comment.