Skip to content
Snippets Groups Projects
Commit 04b61080 authored by Adam G-H's avatar Adam G-H Committed by Ted Bowman
Browse files

Issue #3409774: Run unit tests on GitLab CI

parent de9413f4
No related branches found
No related tags found
1 merge request!1002Enable PHPUnit job for auto_updates and package_manager unit tests only
Pipeline #66015 passed
......@@ -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,18 @@ 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
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