Skip to content

Commit

Permalink
Fail raport if not records found for version
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 14, 2024
1 parent 7881a19 commit 11912c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/raport-regressions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ lazy val PreviousScalaReleases =

printLine()
val failedProjects = listFailedProjects(scalaVersion, checkBuildId)
.ensuring(_.nonEmpty, s"No failed projects found for scalaVersion=$scalaVersion, buildId=${checkBuildId}")
printLine()

val reportedProjects =
Expand All @@ -144,6 +145,7 @@ lazy val PreviousScalaReleases =
)
.map(_.project)
.toSet
.ensuring(_.nonEmpty, s"No failed proejcts found for $id")
println(s"Excluding ${ignoredProjects.size} project failing in $id:$LINE_BREAK\n")
ignoredProjects
.map(_.name)
Expand Down

0 comments on commit 11912c1

Please sign in to comment.