diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 2783621..9abd3e5 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -8,7 +8,7 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: macos-latest env: TF_CPP_MIN_LOG_LEVEL: 3 steps: @@ -17,8 +17,8 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 -# - name: install brew on mac -# run: | -# brew install sbt + - name: install brew on mac + run: | + brew install sbt - name: Run tests run: sbt test diff --git a/build.sbt b/build.sbt index 78c44f5..ecc7140 100644 --- a/build.sbt +++ b/build.sbt @@ -3,7 +3,7 @@ import com.typesafe.sbt.packager.archetypes.JavaAppPackaging enablePlugins(JavaServerAppPackaging) enablePlugins(JavaAppPackaging) -val scalaTestVersion = "3.2.14" +val scalaTestVersion = "3.2.15" name := "spark-nlp-starter" @@ -22,7 +22,9 @@ ThisBuild / developers := List( email = "maziyar.panahi@iscpif.fr", url = url("https://github.com/maziyarpanahi"))) -val sparkVer = "3.4.1" +// Spark NLP 5.1.0 was compiled with Scala 2.12.15 and Spark 3.3.1 +// Do not change these versions unless you know what you are doing +val sparkVer = "3.3.1" val sparkNLP = "5.1.0" libraryDependencies ++= {