From 07f55bb3450878ac1cde8aefb82d78f018ea24d2 Mon Sep 17 00:00:00 2001 From: Andrew Valencik Date: Sun, 31 Aug 2025 09:11:41 -0400 Subject: [PATCH 1/2] Add munit flags, fixes test logs on sbtn --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index 29081e4..715caa0 100644 --- a/build.sbt +++ b/build.sbt @@ -58,6 +58,7 @@ lazy val onnx = project } }, scalacOptions += "-Wconf:src=src_managed/.*:i", + Test / testOptions += Tests.Argument("+l"), // for munit logging ) .dependsOn(ir) @@ -72,4 +73,5 @@ lazy val runtime = project "org.scalameta" %%% "munit" % MunitVersion % Test, ), nativeBrewFormulas ++= Set("openblas", "mlpack"), + Test / testOptions += Tests.Argument("+l"), // for munit logging ) From f76f2f0b434ae1693103cf73f77e04b2dd360451 Mon Sep 17 00:00:00 2001 From: Andrew Valencik Date: Mon, 1 Sep 2025 09:27:07 -0400 Subject: [PATCH 2/2] Set Tests Argument at ThisBuild level --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 715caa0..488b333 100644 --- a/build.sbt +++ b/build.sbt @@ -17,6 +17,8 @@ ThisBuild / githubWorkflowBuildPreamble += WorkflowStep.Run(List("/home/linuxbrew/.linuxbrew/bin/brew update"), name = Some("brew update")) ThisBuild / githubWorkflowBuildPreamble ++= nativeBrewInstallWorkflowSteps.value +ThisBuild / Test / testOptions += Tests.Argument("+l") // for munit logging + val CatsEffectVersion = "3.7-8f2b497" val CatsVersion = "2.12.0" val MunitVersion = "1.0.4" @@ -58,7 +60,6 @@ lazy val onnx = project } }, scalacOptions += "-Wconf:src=src_managed/.*:i", - Test / testOptions += Tests.Argument("+l"), // for munit logging ) .dependsOn(ir) @@ -73,5 +74,4 @@ lazy val runtime = project "org.scalameta" %%% "munit" % MunitVersion % Test, ), nativeBrewFormulas ++= Set("openblas", "mlpack"), - Test / testOptions += Tests.Argument("+l"), // for munit logging )