-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
[Test] Reduce RunTestsInSeparateProcesses usage #3667
Conversation
@@ -2,7 +2,7 @@ | |||
|
|||
namespace Rector\Tests\Renaming\Rector\FileWithoutNamespace\PseudoNamespaceToNamespaceRector\Fixture; | |||
|
|||
class Fixture6 | |||
class PhpunitTestCaseSplit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a new phpstan rule which makes sure classes within fixtures are uniquely named?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably needed , sometime, phpstan still read previous class "in memory", probably as "analyzed file" cache
The error seems only on CI |
Let's try use |
This reverts commit af7c37c.
it seems using |
Let's rename the class fixture to avoid duplicate use by other rule a6f6f85 |
Let's rollback |
All checks have passed 🎉 @TomasVotruba I am merging it ;) |
* [Test] Remove RunTestsInSeparateProcesses usage * [ci-review] Rector Rectify * rename fixture classes * rename fixture * use FileCacheStorage for RenameClassRectorTest * Revert use FileCacheStorage for RenameClassRectorTest This reverts commit af7c37c. * rename class * rename fixture * another rename * rollback RunTestsInSeparateProcesses --------- Co-authored-by: GitHub Action <actions@github.com>
@staabm RunTestsInSeparateProcesses was used to cover error tests which possible due to duplicate file fixture on run tests. This was rolled back tried, rolled back, and re-tried, see https://github.com/rectorphp/rector-src/pulls?q=is%3Apr+RunTestsInSeparateProcesses+is%3Aclosed
Let's try
removereduce to see if now some that no longer needed.