Skip to content

Commit

Permalink
chore: bump default scoverage to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ckipp01 committed Jan 13, 2025
1 parent b43680a commit 85732d7
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "sbt-scoverage"

import sbt.ScriptedPlugin.autoImport.scriptedLaunchOpts

lazy val scoverageVersion = "2.2.1"
lazy val scoverageVersion = "2.3.0"

inThisBuild(
List(
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/aggregate-disabled-module/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
inThisBuild(
List(
organization := "org.scoverage",
scalaVersion := "2.13.15",
libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
scalaVersion := "2.13.16",
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test
)
)

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/aggregate-only/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
lazy val commonSettings = Seq(
organization := "org.scoverage",
version := "0.1.0",
scalaVersion := "2.13.15"
scalaVersion := "2.13.16"
)

def module(name: String) = {
Expand All @@ -15,7 +15,7 @@ def module(name: String) = {
.settings(commonSettings: _*)
.settings(
Keys.name := name,
libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test
)
}

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-file-branch/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumBranchPerFile := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-file-stmt/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtPerFile := 90

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-package-branch/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumBranchPerPackage := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-package-stmt/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtPerPackage := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-total-branch/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumBranchTotal := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage-total-stmt/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtTotal := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/bad-coverage/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtTotal := 80

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/coverage-excluded-packages/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageExcludedPackages := "two\\..*;three\\..*"

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/coverage-off/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtTotal := 100
coverageMinimumBranchTotal := 100
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/good-coverage/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

coverageMinimumStmtTotal := 100
coverageMinimumBranchTotal := 100
Expand Down
6 changes: 3 additions & 3 deletions src/sbt-test/scoverage/preserve-set/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import sbt.complete.DefaultParsers._

version := "0.1"

scalaVersion := "2.13.15"
scalaVersion := "2.13.16"

crossScalaVersions := Seq("2.13.15")
crossScalaVersions := Seq("2.13.16")

libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test

val checkScalaVersion = inputKey[Unit](
"Input task to compare the value of scalaVersion setting with a given input."
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/preserve-set/test
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# check scalaVersion setting
> checkScalaVersion "2.13.15"
> checkScalaVersion "2.13.16"
> checkScoverageEnabled "false"
> coverage
> checkScoverageEnabled "true"
> coverageOff
> checkScalaVersion "2.13.15"
> checkScalaVersion "2.13.16"
> checkScoverageEnabled "false"
4 changes: 2 additions & 2 deletions src/sbt-test/scoverage/scalajs/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ lazy val cross =
CrossProject("sjstest", file("sjstest"))(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.settings(
scalaVersion := "2.13.15",
libraryDependencies += "org.scalameta" %% "munit" % "1.0.1" % Test
scalaVersion := "2.13.16",
libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test
)

lazy val crossJS = cross.js
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/scoverage/scalajs/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ resolvers ++= {
Seq.empty
}

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.18.1")

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")

0 comments on commit 85732d7

Please sign in to comment.