You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been trying a bunch of different methods to split my phpunit tests by timing data on CircleCI. I've gotten pretty close; am able to use this script to get the full list of test files and use circleci tests split to split them by historical timing data... but then I just have a list of test files. I can't figure out a way to just make PHPUnit run through a list of filenames I pipe to it; it wants a filter based on class names or else a single filename. So, I'm wondering how people are using this in working pipelines on CircleCI or similar parallelized CI services...
Do you generate a new phpunit.xml file on the fly for each parallel node?
Do you somehow grab the qualified class names from the files and create a giant filter?
Am I missing some way to just pass my list of files to PHPUnit?
Maybe this only works when you use the circleci test command, but that's not really available to me because I'm running phpunit directly from my own container (I build the project with ddev on each run).
The text was updated successfully, but these errors were encountered:
Hi, I've been trying a bunch of different methods to split my phpunit tests by timing data on CircleCI. I've gotten pretty close; am able to use this script to get the full list of test files and use
circleci tests split
to split them by historical timing data... but then I just have a list of test files. I can't figure out a way to just make PHPUnit run through a list of filenames I pipe to it; it wants a filter based on class names or else a single filename. So, I'm wondering how people are using this in working pipelines on CircleCI or similar parallelized CI services...Do you generate a new phpunit.xml file on the fly for each parallel node?
Do you somehow grab the qualified class names from the files and create a giant filter?
Am I missing some way to just pass my list of files to PHPUnit?
Maybe this only works when you use the circleci test command, but that's not really available to me because I'm running phpunit directly from my own container (I build the project with ddev on each run).
The text was updated successfully, but these errors were encountered: