File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 branches :
1010 - main
1111jobs :
12- test :
12+ test-213 :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v2
@@ -21,16 +21,26 @@ jobs:
2121 - name : Test
2222 env :
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24- run : sbt coverage test coverageReport
24+ run : sbt '++ 2.13.10' coverage test coverageReport
2525 - name : Upload coverage
2626 uses : codecov/codecov-action@v1
2727 with :
2828 token : ${{ secrets.CODECOV_TOKEN }}
2929 fail_ci_if_error : true
3030
31+ test-212 :
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v2
35+ - uses : olafurpg/setup-scala@v10
36+ - name : Test
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ run : sbt '++ 2.12.15' test
40+
3141 publish :
3242 if : ${{ github.event_name != 'pull_request' }}
33- needs : [test]
43+ needs : [test-213, test-212 ]
3444 runs-on : ubuntu-latest
3545 steps :
3646 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11import Dependencies ._
22
3- ThisBuild / scalaVersion := " 2.13.10"
43ThisBuild / versionScheme := Some (" early-semver" )
54ThisBuild / organization := " io.github.dataunitylab"
65ThisBuild / organizationName := " Data Unity Lab"
@@ -24,6 +23,7 @@ val nonConsoleCompilerOptions = Seq(
2423lazy val root = (project in file(" ." ))
2524 .settings(
2625 name := " Fuzzy Sets" ,
26+ crossScalaVersions := Seq (" 2.12.15" , " 2.13.10" ),
2727 libraryDependencies += scalaTest % Test ,
2828 scalacOptions ++= nonConsoleCompilerOptions
2929 )
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
44addSbtPlugin(" io.kevinlee" % " sbt-github-pages" % " 0.7.0" )
55addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.0" )
66addSbtPlugin(" org.scalastyle" %% " scalastyle-sbt-plugin" % " 1.0.0" )
7- addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.6.1" )
7+ addSbtPlugin(" org.scoverage" %% " sbt-scoverage" % " 1.6.1" )
88addSbtPlugin(" org.wartremover" % " sbt-wartremover" % " 3.1.0" )
99addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21" )
You can’t perform that action at this time.
0 commit comments