Skip to content
Snippets Groups Projects
Commit ba9f714c authored by Adam G-H's avatar Adam G-H
Browse files

Merge branch '3409774-run-unit-tests' into '3.0.x'

Enable PHPUnit job for auto_updates and package_manager unit tests only

See merge request !1002
parents ee1286b9 454322b8
No related branches found
No related tags found
No related merge requests found
Pipeline #65991 failed
......@@ -53,10 +53,7 @@ variables:
SKIP_ESLINT: '1'
SKIP_PHPCS: '1'
SKIP_PHPSTAN: '1'
SKIP_PHPUNIT: '1'
SKIP_STYLELINT: '1'
_WEB_ROOT: '.'
###################################################################################
#
......@@ -109,6 +106,7 @@ composer:
variables:
COMPOSER_MIRROR_PATH_REPOS: '1'
PATH_REPO: '/tmp/automatic_updates'
_WEB_ROOT: '.'
script:
- mkdir $PATH_REPO
- mv ./* $PATH_REPO
......@@ -126,3 +124,22 @@ composer:
- test -d ./core/modules/package_manager
- test -d ./core/modules/auto_updates
- rm -r -f ./modules/contrib
phpunit:
extends: .phpunit-base
parallel:
matrix:
- MODULE:
- auto_updates
- package_manager
TEST_TYPE:
- PHPUnit-Unit
- PHPUnit-Kernel
- PHPUnit-Functional
- PHPUnit-FunctionalJavascript
# - PHPUnit-Build
variables:
_PHPUNIT_CONCURRENT: '1'
_PHPUNIT_EXTRA: '--types $TEST_TYPE --module $MODULE'
_PHPUNIT_TESTGROUPS: '--verbose'
_WEB_ROOT: '$CI_PROJECT_DIR'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment