mirror of https://github.com/sbt/sbt.git
Sort scripted tests
We're seeing errors in github actions that may be related to scripted test ordering.
This commit is contained in:
parent
f4921e3dd7
commit
3ff0c296b9
|
|
@ -140,6 +140,7 @@ final class ScriptedTests(
|
|||
|
||||
def createTestRunners(tests: Seq[TestInfo]): Seq[TestRunner] = {
|
||||
tests
|
||||
.sortBy(_._1)
|
||||
.grouped(batchSize)
|
||||
.map { batch => () =>
|
||||
IO.withTemporaryDirectory {
|
||||
|
|
|
|||
Loading…
Reference in New Issue