mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 21:36:13 +01:00

Compare commits

..

No commits in common. "508c6b94cc74cdfbc4516cfbc3f0171288fe2152" and "adc864f257cb635a75f0331aa8ca3fbed6ac765d" have entirely different histories.

View file

@ -149,19 +149,19 @@ Options:
- cleanRenderedDocumentation: clean up rendered documentation files and folders (Documentation-GENERATED-temp) - cleanRenderedDocumentation: clean up rendered documentation files and folders (Documentation-GENERATED-temp)
- cleanTests: clean up test related files and folders - cleanTests: clean up test related files and folders
- composer: "composer" with all remaining arguments dispatched. - composer: "composer" with all remaining arguments dispatched.
- composerUnused: Finds unused Composer packages.
- composerUpdateMax: "composer update", with no platform.php config. - composerUpdateMax: "composer update", with no platform.php config.
- composerUpdateMin: "composer update --prefer-lowest", with platform.php set to PHP version x.x.0. - composerUpdateMin: "composer update --prefer-lowest", with platform.php set to PHP version x.x.0.
- composerUnused: Finds unused Composer packages.
- docsGenerate: Renders the extension ReST documentation. - docsGenerate: Renders the extension ReST documentation.
- functional: PHP functional tests - functional: PHP functional tests
- lintCss: CSS file linting. Set -n for dry-run. - lintTypoScript: TypoScript linting
- lintPhp: PHP linting
- lintJs: JavaScript file linting. Set -n for dry-run. - lintJs: JavaScript file linting. Set -n for dry-run.
- lintJson: JSON linting - lintJson: JSON linting
- lintPhp: PHP linting - lintCss: CSS file linting. Set -n for dry-run.
- lintTypoScript: TypoScript linting
- lintYaml: YAML linting - lintYaml: YAML linting
- phpstan: PHPStan tests - phpstan: phpstan tests
- phpstanGenerateBaseline: regenerate PHPStan baseline, handy after PHPStan updates - phpstanGenerateBaseline: regenerate phpstan baseline, handy after phpstan updates
- shellcheck: check runTests.sh for shell issues - shellcheck: check runTests.sh for shell issues
- unit (default): PHP unit tests - unit (default): PHP unit tests
- unitRandom: PHP unit tests in random order, add -o <number> to use specific seed - unitRandom: PHP unit tests in random order, add -o <number> to use specific seed
@ -184,10 +184,10 @@ Options:
-d <sqlite|mariadb|mysql|postgres> -d <sqlite|mariadb|mysql|postgres>
Only with -s functional|functionalDeprecated Only with -s functional|functionalDeprecated
Specifies on which DBMS tests are performed Specifies on which DBMS tests are performed
- sqlite: (default): use sqlite
- mariadb: use mariadb - mariadb: use mariadb
- mysql: use MySQL - mysql: use MySQL
- postgres: use postgres - postgres: use postgres
- sqlite: (default): use sqlite
-i version -i version
Specify a specific database version Specify a specific database version
@ -218,7 +218,7 @@ Options:
- 16 maintained until 2028-11-09 - 16 maintained until 2028-11-09
-t <11.5|12.4> -t <11.5|12.4>
Only with -s composerUpdateMin|composerUpdateMax Only with -s composerInstall|composerUpdateMin|composerUpdateMax
Specifies the TYPO3 CORE Version to be used Specifies the TYPO3 CORE Version to be used
- 11.5: use TYPO3 v11 with typo3/cms-composer-installers ^3 - 11.5: use TYPO3 v11 with typo3/cms-composer-installers ^3
- 12.4: (default) use TYPO3 v12 with typo3/cms-composer-installers ^5 - 12.4: (default) use TYPO3 v12 with typo3/cms-composer-installers ^5
@ -506,6 +506,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} "${COMMAND_PARTS[@]}" ${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} "${COMMAND_PARTS[@]}"
SUITE_EXIT_CODE=$? SUITE_EXIT_CODE=$?
;; ;;
composerInstall)
COMMAND_PARTS=(composer install "$@")
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} "${COMMAND_PARTS[@]}"
SUITE_EXIT_CODE=$?
;;
composerUpdateMax) composerUpdateMax)
COMMAND="composer config --unset platform.php; composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^${CORE_VERSION}"; composer update --no-progress --no-interaction; composer dumpautoload; composer show" COMMAND="composer config --unset platform.php; composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^${CORE_VERSION}"; composer update --no-progress --no-interaction; composer dumpautoload; composer show"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-max-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}" ${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-max-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"