Try pcov for code coverage#2581
Try pcov for code coverage#2581TomasVotruba merged 4 commits intorectorphp:masterfrom staabm:patch-2
Conversation
|
What do you think about moving the simple checks to GithubAction so overall build-time can be reduced? (Less sequential tasks) |
I haven't used them yet. PR prototype would help |
|
Remaining failures seem unrelated |
|
Indeed. Thanks 👍 |
|
The coverage just dropped by 4 % https://coveralls.io/github/rectorphp/rector?branch=master That's way too much for 1 min improvements on parallel Travis run. We'll need to revert |
|
Imo the coverage did not actually change but pcov treats some details differenz and therefore leads to a different number |
|
The number changed for much worse. If that would be ~0,5 % than it's ok. I'd rather stay closer to original xdebug coverage, as we'll probably get back to it in 2.9 Thanks for you work though. I wish I noticed the number before |
rectorphp/rector-src@9262169 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)

Similar to #2576
Related article from the same source.. lets try
https://kizu514.com/blog/pcov-is-better-than-phpdbg-and-xdebug-for-code-coverage/
https://github.com/krakjoe/pcov