diff --git a/drupalci.yml b/drupalci.yml index 43c70daf57e1010256d62125dfed90b3e6a8035a..dcaac91f63194a8e558d4fbdc42057442633ed2e 100644 --- a/drupalci.yml +++ b/drupalci.yml @@ -36,6 +36,8 @@ build: - cat modules/contrib/automatic_updates/dictionary.txt >> core/misc/cspell/dictionary.txt # Ensure we have the full path to PHPStan. - sed -i "s/vendor\/bin\/phpstan/\/var\/www\/html\/vendor\/bin\/phpstan/" modules/contrib/automatic_updates/commit-code-check.sh + # Ensure that debugging commit-code-check.sh is feasible at all times. + - sed -i "s/# Searches an array./set -xev/" modules/contrib/automatic_updates/commit-code-check.sh # After all of the shenanigans above, we're finally ready to run core's `commit-code-check.sh`! :) - cat modules/contrib/automatic_updates/commit-code-check.sh - diff /var/www/html/core/scripts/dev/commit-code-check.sh modules/contrib/automatic_updates/commit-code-check.sh @@ -43,7 +45,6 @@ build: - ls -al modules/contrib/automatic_updates/src/ - ls -al /var/www/html/core/ - git config --global --add safe.directory /var/www/html/modules/contrib/automatic_updates - - sh -xev modules/contrib/automatic_updates/commit-code-check.sh --drupalci # Restore the original permissions. - chmod 777 modules/contrib/automatic_updates/ # Disable the PCRE engine's JIT, since it causes Composer to die during the