From a4ee37b6d471546863671d9bde7a610f5eb987a4 Mon Sep 17 00:00:00 2001 From: Stuart Clark Date: Tue, 6 Oct 2026 04:12:54 +0000 Subject: [PATCH] ci: run phpunit concurrently on Drupal.org with gitlab_templates 1.17.0 --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21d9f57..2e3ab1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,4 +34,11 @@ variables: OPT_IN_TEST_NEXT_MINOR: '1' OPT_IN_TEST_NEXT_MAJOR: "0" OPT_IN_TEST_MAX_PHP: "1" + # The phpunit binary (_PHPUNIT_CONCURRENT: 0) loads phpunit.xml from the + # project root. That file is the scaffold config for local and GitHub runs. + # This flag points the binary at the DrupalCI config instead. _PHPUNIT_EXTRA: '--no-coverage --configuration=phpunit.gitlab-ci.xml' + # run-tests.sh (_PHPUNIT_CONCURRENT: 1, the default) uses core's phpunit + # config and needs no extra options. The '-' stops the template copying + # _PHPUNIT_EXTRA into this variable. + _RUNTESTS_EXTRA: '-'