Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Options:
- lintJson: JSON linting
- lintPhp: PHP linting
- lintTypoScript: TypoScript linting
- lintXliff: XLIFF linting
Comment thread
oliverklee marked this conversation as resolved.
- lintYaml: YAML linting
- npm: "npm" with all remaining arguments dispatched.
- phpmd: Checks code metrics in the PHP code using PHPMD.
Expand Down Expand Up @@ -661,6 +662,11 @@ case ${TEST_SUITE} in
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
SUITE_EXIT_CODE=$?
;;
lintXliff)
COMMAND="php Build/Scripts/xliffLint.sh lint:xliff Resources/Private/Language"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name lintxliff-${SUFFIX} ${IMAGE_PHP} ${COMMAND}
SUITE_EXIT_CODE=$?
;;
lintYaml)
COMMAND="composer check:yaml:lint"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
Expand Down