Skip to content

Commit

Permalink
Enable tests if scala version 2.12.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Spörri <[email protected]>
  • Loading branch information
pspoerri committed Aug 31, 2023
1 parent 2ec4122 commit a455087
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,15 @@ jobs:
distribution: temurin
java-version: 11
cache: sbt
- name: Test
shell: bash
if: startsWith(matrix.scala, '2.12.')
run: |
sbt test
- name: Package
shell: bash
run: |
rm -rf target
sbt package
sbt makePom
- name: Upload to maven
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ libraryDependencies ++= (if (scalaBinaryVersion.value == "2.12") Seq(
"ch.cern.sparkmeasure" %% "spark-measure" % "0.18" % Test,
"org.scalacheck" %% "scalacheck" % "1.15.2" % Test,
"org.mockito" % "mockito-core" % "3.4.6" % Test,
"org.scalatestplus" %% "mockito-3-4" % "3.2.9.0" % Test
"org.scalatestplus" %% "mockito-3-4" % "3.2.9.0" % Test,
"com.github.sbt" % "junit-interface" % "0.13.3" % Test
)
else Seq())

Expand Down

0 comments on commit a455087

Please sign in to comment.