Skip to content
Snippets Groups Projects
Commit 962e7931 authored by Jonathan Smith's avatar Jonathan Smith Committed by Stephen Mustgrave
Browse files

Issue #3414272: Show deprecations in gitlab pipeline tests

parent d5f81431
Branches
Tags
1 merge request!42Issue #3414272: Show deprecations in gitlab pipeline tests
Pipeline #87656 passed
...@@ -52,11 +52,19 @@ include: ...@@ -52,11 +52,19 @@ include:
variables: variables:
OPT_IN_TEST_PREVIOUS_MAJOR: 1 OPT_IN_TEST_PREVIOUS_MAJOR: 1
OPT_IN_TEST_PREVIOUS_MINOR: 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_NEXT_MAJOR: 0
OPT_IN_TEST_MAX_PHP: 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 _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: eslint:
before_script: before_script:
...@@ -89,6 +97,15 @@ phpcs: ...@@ -89,6 +97,15 @@ phpcs:
cd $CI_PROJECT_DIR cd $CI_PROJECT_DIR
fi fi
# Patch core file. This will be added to all phpunit jobs.
phpunit: phpunit:
before_script: before_script:
- *module-filter-core-patches - *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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment