diff --git a/.github/workflows/ScalaCI.yml b/.github/workflows/ScalaCI.yml index 893121709a6888b14a6a1dbb0d498ebb1407126a..a99124d6f51982e4cc088bad3268cd2628ebc680 100644 --- a/.github/workflows/ScalaCI.yml +++ b/.github/workflows/ScalaCI.yml @@ -29,4 +29,9 @@ jobs: run: sbt +compile - name: Run Test - run: sbt test \ No newline at end of file + run: sbt coverage test coverageReport + + - name: Aggregate coverage report + run: sbt coverageAggregate + - name: Upload test coverage report + run: bash <(curl -s https://codecov.io/bash) diff --git a/project/plugins.sbt b/project/plugins.sbt index ce4d74e4b4384e1a6f00c03c1ff8518fdb335032..70febc4ce8e568302fbf9245fe18ef5d058e7dd4 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,4 +4,5 @@ addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.13") addSbtPlugin("org.jetbrains" % "sbt-ide-settings" % "1.1.0") addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.12.5") -addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") \ No newline at end of file +addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2")