[GitlabCI] run-tests.sh does not pass on SYMFONY_DEPRECATIONS_HELPER environment variable value to spawned processes

Created on 8 November 2023, almost 2 years ago
Updated 17 November 2023, over 1 year ago

Problem/Motivation

In contrib, using GitlabCI pipelines with the templates, the content of the SYMFONY_DEPRECATIONS_HELPER environment variable is taken into account when _PHPUNIT_CONCURRENT is set to 0 (hence PHPUnit CLI is executed), but not when it is set to 1 (hence run-tests.sh is executed.

See https://drupal.slack.com/archives/CGKLP028K/p1699433881643249

Proposed resolution

Fix run-tests.sh so that it passes through the value of SYMFONY_DEPRECATIONS_HELPER to spawned processes.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

11.0

Component
PHPUnit 

Last updated 9 days ago

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024