Skip to content
Snippets Groups Projects

Issue #3414272: Show deprecations in gitlab pipeline tests

Compare and
1 file
+ 19
2
Compare changes
  • Side-by-side
  • Inline
+ 19
2
@@ -52,11 +52,19 @@ include:
variables:
OPT_IN_TEST_PREVIOUS_MAJOR: 1
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 0
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_NEXT_MAJOR: 0
OPT_IN_TEST_MAX_PHP: 0
# concurrent=1 uses run-tests.sh, 0 uses phpunit directly.
# _PHPUNIT_CONCURRENT=1 uses run-tests.sh, 0 uses phpunit directly.
_PHPUNIT_CONCURRENT: 1
# Skip (1) or execute (0) the following jobs.
SKIP_COMPOSER: 0
SKIP_COMPOSER_LINT: 0
SKIP_ESLINT: 0
SKIP_STYLELINT: 0
SKIP_PHPCS: 0
SKIP_PHPSTAN: 0
SKIP_PHPUNIT: 0
eslint:
before_script:
@@ -89,6 +97,15 @@ phpcs:
cd $CI_PROJECT_DIR
fi
# Patch core file. This will be added to all phpunit jobs.
phpunit:
before_script:
- *module-filter-core-patches
# For the 'next minor' core test show deprecations, and set allow_failure:true
# so the jobs ends with an amber warning not red error.
phpunit (next minor):
allow_failure: true
variables:
# Use core ignoreFile to show deprecations. This will only work with $_PHPUNIT_CONCURRENT=1
SYMFONY_DEPRECATIONS_HELPER: "ignoreFile=$CI_PROJECT_DIR/$_WEB_ROOT/core/.deprecation-ignore.txt"
Loading