From 07c4df90ba1bc09428d085aa48057a0852f59f04 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 15 Apr 2024 10:41:16 +0800 Subject: [PATCH] try to fix tests --- .github/workflows/actions.yml | 4 +++- build.sc | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index d28d15d1..5812d2e6 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -27,7 +27,9 @@ jobs: run: npm install - name: Run tests - run: ./mill -i __.publishArtifacts + __.test + run: | + ./mill -i --disable-ticker __.resolvedIvyDeps + ./mill -i --disable-ticker -j 0 __.publishArtifacts __.test check-binary-compatibility: runs-on: ubuntu-latest diff --git a/build.sc b/build.sc index 1a5ece0f..6e7d0605 100644 --- a/build.sc +++ b/build.sc @@ -10,7 +10,7 @@ import mill.scalalib.api.ZincWorkerUtil.isScala3 val dottyVersions = sys.props.get("dottyVersion").toList -val scalaVersions = List("2.12.18", "2.13.13", "3.3.1") ++ dottyVersions +val scalaVersions = List("2.12.17", "2.13.10", "3.3.1") ++ dottyVersions trait ScalatagsPublishModule extends CrossScalaModule with PublishModule with PlatformScalaModule with Mima{ def ivyDeps = Agg( @@ -93,7 +93,7 @@ object scalatags extends Module { object test extends ScalaJSTests with CommonTestModule{ def ivyDeps = super.ivyDeps() ++ Agg(ivy"org.scala-js::scalajs-env-jsdom-nodejs:1.1.0").map(_.withDottyCompat(crossScalaVersion)) - override def jsEnvConfig = mill.scalajslib.api.JsEnvConfig.JsDom() + def jsEnvConfig = mill.scalajslib.api.JsEnvConfig.JsDom() } }