Skip to content

Commit

Permalink
remove fatal warnings for test
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed Jun 13, 2024
1 parent 112774f commit 92d625a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,6 @@ jobs:

- run: sbt '++ ${{ matrix.scala }}' coverage rootJVM/test coverageAggregate

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v4
with:
flags: ${{matrix.scala}},${{matrix.java}}
12 changes: 10 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ val munitVersion = "0.7.29"
val disciplineMunitVersion = "1.0.9"

ThisBuild / tlBaseVersion := "0.14"
ThisBuild / tlCiReleaseTags := false
ThisBuild / tlCiReleaseTags := true
ThisBuild / tlFatalWarnings := false // we currently have a lot of warnings that will need to be fixed

ThisBuild / organization := "io.circe"
ThisBuild / crossScalaVersions := List(Scala212V, Scala213V)
Expand All @@ -34,7 +35,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
UseRef.Public(
"codecov",
"codecov-action",
"v2"
"v4"
),
params = Map(
"flags" -> List("${{matrix.scala}}", "${{matrix.java}}").mkString(",")
Expand All @@ -44,6 +45,12 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
)
)

def do_configure(project: Project) = project.settings(
Seq(
Test / scalacOptions -= "-Xfatal-warnings"
)
)

//val docMappingsApiDir = settingKey[String]("Subdirectory in site target directory for API docs")

lazy val root =
Expand Down Expand Up @@ -90,6 +97,7 @@ lazy val genericExtras = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.nativeSettings(
tlVersionIntroduced := List("2.12", "2.13").map(_ -> "0.14.3").toMap
)
.configure(do_configure)

lazy val benchmarks = project
.in(file("benchmarks"))
Expand Down

0 comments on commit 92d625a

Please sign in to comment.