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 f6e3e8d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ include:
variables:
SKIP_ESLINT: '1'
# Opt in to testing current minor against max supported PHP version.
OPT_IN_TEST_MAX_PHP: '1'
OPT_IN_TEST_MAX_PHP: '0'
# Opt in to testing previous & next minor (Drupal 10.0.x and 10.2.x).
OPT_IN_TEST_PREVIOUS_MINOR: '1'
OPT_IN_TEST_NEXT_MINOR: '1'
Expand All @@ -43,5 +43,9 @@ variables:
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 f6e3e8d

Please sign in to comment.