I’m trying to work out how to split tests by timing in circle. I have the following in my config:
- run: gotestsum --junitfile /tmp/test-results/go-test/$(echo $RANDOM).xml $(go list ./... | circleci tests split --split-by=timings)
The thought with the $RANDOM was that since we are splitting the tests and each container writes a new file, that it would read in all the files and combine them when it read the test results on run. That clearly isn’t happening. Does anyone have a good example on how to properly split go tests by timing in circleci?