Skip to content
Snippets Groups Projects
Commit c4747987 authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[TASK] CI detection in runTests.sh for phpstan

phpstan parallel execution is limited to a maximum
of 5 processes to be a nice neighbor when executed
during core CI runs. This however leads to longer
execution times when executed on local developer
machines with many available CPU's.

This patch introduces two separated phpstan config
file entrypoints, one for local and one for CI. They
are automatically selected in runTests.sh based on
existence of a CI env variable.

Resolves: #97571
Releases: main, 11.5
Change-Id: I14bf13412de7a2471703e7982dad4030ae6ba735
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74536


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74544
parent d52d7258
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment