Skip to content

Commit c948777

Browse files
committed
Fix the test report generation script to account for post-mill-0.11.6 changes to the test output format
1 parent 4dfdf69 commit c948777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/generate-junit-reports.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def findFiles(paths: Seq[os.Path], result: Seq[os.Path] = Nil): Seq[os.Path] =
2727
case Nil => result
2828
case head :: tail =>
2929
val newFiles =
30-
if head.last == "test.dest" && os.isDir(head) then
30+
if head.segments.contains("test") && head.last.endsWith(".dest") && os.isDir(head) then
3131
os.list(head).filter(f => f.last == "out.json").toList
3232
else Seq.empty
3333
val newDirs = os.list(head).filter(p => os.isDir(p)).toList

0 commit comments

Comments
 (0)