Skip to content

Commit

Permalink
Fix #341: Enable coverage after plugin is released for 2.12.13 (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich authored Apr 28, 2021
1 parent 267880d commit 3b86965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Validate JVM (scala 2)
if: matrix.platform == 'jvm' && matrix.scala == '2.12.13'
run: sbt ++${{ matrix.scala }} jvm/checkCI docs/mdoc
run: sbt ++${{ matrix.scala }} coverage jvm/checkCI docs/mdoc coverageReport

- name: Upload Codecov Results
if: matrix.platform == 'jvm' && matrix.scala == '2.12.13'
Expand Down Expand Up @@ -124,4 +124,4 @@ jobs:
run: sbt ++${{ matrix.scala }} scalafmtCheckAll

- if: matrix.platform == 'jvm' && matrix.scala == '2.12.13'
run: sbt ++${{ matrix.scala }} scalafmtSbtCheck
run: sbt ++${{ matrix.scala }} scalafmtSbtCheck
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ ThisBuild / githubWorkflowBuild := Seq(
name = Some("Setup codecov"),
cond = Some(JvmCond + " && " + Scala212Cond)
),
// Avoid coverage, see https://github.com/scoverage/sbt-scoverage/issues/319
WorkflowStep.Sbt(List(/*"coverage",*/ "jvm/checkCI", "docs/mdoc"/*, "coverageReport"*/),
WorkflowStep.Sbt(List("coverage", "jvm/checkCI", "docs/mdoc", "coverageReport"),
name = Some("Validate JVM (scala 2)"),
cond = Some(JvmCond + " && " + Scala212Cond)
),
Expand Down

0 comments on commit 3b86965

Please sign in to comment.