-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drupal-check reports errors when running multiple instances #207
Comments
Copying over feedback from the PR: PHPStan generates the temp directory. We could silently |
:) Use PHPStan directly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How is drupal-check installed?
drupal-check is installed as a dependency to my project
Environment:
Describe the bug
I have a Jenkins pipeline job which runs a series of tests in parallel. I would like to run
drupal-check
separately against contrib and custom, to generate two distinct reports.At the end of the
contrib
check, this error was reported:Jenkins starts both tests simultaneously. Drupal-check creates a run-time configuration file with the name defined as:
sys_get_temp_dir() . '/drupal_check_phpstan_' . time() . '.neon';
. This means that two instances of drupal-check which start simultaneously will have the same configuration filename.Jenkins custom-code job
Jenkins contrib-code job
The text was updated successfully, but these errors were encountered: