Skip to content

Commit

Permalink
CI "Validate JVM" job should run coverageReport scoped to JVM project…
Browse files Browse the repository at this point in the history
…s only.
  • Loading branch information
arashi01 committed Jan 30, 2021
1 parent 68f8d16 commit 2f17b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Validate JVM (scala 2)
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3')
run: sbt ++${{ matrix.scala }} coverage buildJVM bench/test coverageReport
run: sbt ++${{ matrix.scala }} coverage buildJVM bench/test catsJVM/coverageReport

- name: Validate JVM (scala 3)
if: matrix.platform == 'jvm' && (matrix.scala == '3.0.0-M2' || matrix.scala == '3.0.0-M3')
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ ThisBuild / githubWorkflowBuild := Seq(
cond = Some(JvmCond + " && " + Scala2Cond),
name = Some("Setup codecov")
),
WorkflowStep.Sbt(List("coverage", "buildJVM", "bench/test", "coverageReport"),
WorkflowStep.Sbt(List("coverage", "buildJVM", "bench/test", "catsJVM/coverageReport"),
name = Some("Validate JVM (scala 2)"),
cond = Some(JvmCond + " && " + Scala2Cond)
),
Expand Down

0 comments on commit 2f17b84

Please sign in to comment.