Skip to content

Commit

Permalink
try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Apr 15, 2024
1 parent 556a3fb commit 07c4df9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 07c4df9

Please sign in to comment.