Skip to content

Commit

Permalink
Add scoverage
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Jan 17, 2023
1 parent 77d0bca commit 0f0cce0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
include:
- scala: 2.13.10
name: Scala2_13
test-tasks: test
test-tasks: coverage test coverageReport gen-doc
- scala: 3.2.1
name: Scala3_2
test-tasks: test
test-tasks: coverage test coverageReport

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,6 @@ def scalacSettings(scalaVersion: String): Seq[String] =
}

//=============================== ALIASES ===============================
addCommandAlias("check", ";clean;test")
addCommandAlias("generate-docs", "mdoc;copyReadMe;")
addCommandAlias("check", "scalafmtAll;clean;coverage;test;coverageAggregate")
addCommandAlias("gen-doc", "mdoc;copyReadMe;")
addCommandAlias("coverage-test", "coverage;test;coverageReport")
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sbt.addSbtPlugin

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
//addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.6")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.6")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.3")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")

0 comments on commit 0f0cce0

Please sign in to comment.