-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include more patch versions when testing Scala versions #1436
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also use `testCached` to avoid repeating tests.
7 tasks
The BSP server tests seem to not work for various Scala versions.
|
…ompile` ``` amm.runtime[2.12.8].compile java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:175) scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213) scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64) scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244) scala.collection.Iterator.foreach(Iterator.scala:941) scala.collection.Iterator.foreach$(Iterator.scala:941) scala.collection.AbstractIterator.foreach(Iterator.scala:1429) scala.collection.IterableLike.foreach(IterableLike.scala:74) scala.collection.IterableLike.foreach$(IterableLike.scala:73) scala.collection.AbstractIterable.foreach(Iterable.scala:56) scala.collection.TraversableLike.flatMap(TraversableLike.scala:244) scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241) scala.collection.AbstractTraversable.flatMap(Traversable.scala:108) scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64) scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78) scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77) scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68) scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477) scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70) scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70) scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88) scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50) scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209) scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206) scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82) scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50) scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43) scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452) scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452) scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37) scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37) scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477) scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631) scala.tools.nsc.Global.withInfoLevel(Global.scala:227) scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625) scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612) scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787) scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785) scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436) scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436) scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477) scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776) scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769) scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477) scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1216) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1236) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740) scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2503) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$98(Typers.scala:5655) scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:500) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5690) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030) scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1896) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5647) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114) scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448) scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103) scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498) scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482) scala.tools.nsc.Global$Run.compileSources(Global.scala:1475) scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580) xsbt.CachedCompiler0.run(CompilerBridge.scala:165) xsbt.CachedCompiler0.run(CompilerBridge.scala:134) xsbt.CompilerBridge.run(CompilerBridge.scala:39) sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193) scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163) sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239) sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163) sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534) sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:180) sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:178) sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:464) sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116) sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56) sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52) sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263) sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:419) sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506) sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:406) sbt.internal.inc.Incremental$.apply(Incremental.scala:172) sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488) sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425) sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) mill.scalalib.worker.ZincWorkerImpl.compileInternal(ZincWorkerImpl.scala:561) mill.scalalib.worker.ZincWorkerImpl.$anonfun$compileMixed0$1(ZincWorkerImpl.scala:339) mill.api.FixSizedCache.withCachedValue(FixSizedCache.scala:66) mill.scalalib.worker.ZincWorkerImpl.withCompilers(ZincWorkerImpl.scala:421) mill.scalalib.worker.ZincWorkerImpl.compileMixed0(ZincWorkerImpl.scala:338) mill.scalalib.worker.ZincWorkerImpl.compileMixed(ZincWorkerImpl.scala:306) mill.scalalib.ScalaModule.$anonfun$compile$2(ScalaModule.scala:201) mill.define.Task$TraverseCtx.evaluate(Task.scala:380) java.lang.RuntimeException: /packages cannot be represented as URI java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:175) scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213) scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64) scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244) scala.collection.Iterator.foreach(Iterator.scala:941) scala.collection.Iterator.foreach$(Iterator.scala:941) scala.collection.AbstractIterator.foreach(Iterator.scala:1429) scala.collection.IterableLike.foreach(IterableLike.scala:74) scala.collection.IterableLike.foreach$(IterableLike.scala:73) scala.collection.AbstractIterable.foreach(Iterable.scala:56) scala.collection.TraversableLike.flatMap(TraversableLike.scala:244) scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241) scala.collection.AbstractTraversable.flatMap(Traversable.scala:108) scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64) scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78) scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77) scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68) scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477) scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70) scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70) scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88) scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50) scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209) scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206) scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82) scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50) scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43) scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452) scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452) scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477) scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37) scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37) scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477) scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631) scala.tools.nsc.Global.withInfoLevel(Global.scala:227) scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625) scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612) scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787) scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785) scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439) scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436) scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436) scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436) scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477) scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776) scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769) scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477) scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1216) scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1236) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740) scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2503) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$98(Typers.scala:5655) scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:500) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5690) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030) scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1896) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5647) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790) scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373) scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356) scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649) scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726) scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114) scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448) scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103) scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498) scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482) scala.tools.nsc.Global$Run.compileSources(Global.scala:1475) scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580) xsbt.CachedCompiler0.run(CompilerBridge.scala:165) xsbt.CachedCompiler0.run(CompilerBridge.scala:134) xsbt.CompilerBridge.run(CompilerBridge.scala:39) sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193) scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183) sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163) sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239) sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163) sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534) sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:180) sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:178) sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:464) sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116) sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56) sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52) sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263) sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:419) sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506) sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:406) sbt.internal.inc.Incremental$.apply(Incremental.scala:172) sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534) sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488) sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425) sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) mill.scalalib.worker.ZincWorkerImpl.compileInternal(ZincWorkerImpl.scala:561) mill.scalalib.worker.ZincWorkerImpl.$anonfun$compileMixed0$1(ZincWorkerImpl.scala:339) mill.api.FixSizedCache.withCachedValue(FixSizedCache.scala:66) mill.scalalib.worker.ZincWorkerImpl.withCompilers(ZincWorkerImpl.scala:421) mill.scalalib.worker.ZincWorkerImpl.compileMixed0(ZincWorkerImpl.scala:338) mill.scalalib.worker.ZincWorkerImpl.compileMixed(ZincWorkerImpl.scala:306) mill.scalalib.ScalaModule.$anonfun$compile$2(ScalaModule.scala:201) mill.define.Task$TraverseCtx.evaluate(Task.scala:380) ```
lefou
force-pushed
the
ci-run-all-versions
branch
from
March 4, 2024 21:18
3930798
to
b42473f
Compare
lefou
changed the title
Include more patch versions when testing Scala versions
CI: Include more patch versions when testing Scala versions
Mar 4, 2024
lefou
changed the title
CI: Include more patch versions when testing Scala versions
Include more patch versions when testing Scala versions
Mar 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also use
testCached
in theunitTest
andintegrationTest
commands to avoid repeating tests.I needed to make the following adaptions:
AmmoniteBuildServerTests
. I think those never run successfully, but we never ran then on CI, so we didn't catch those issues.BasisTests
integration test. I seems to always fail when run on any Scala 3 version we support.Due to running much more tests (same tests on more Scala versions), the test suite now takes longer. Since Ammonite isn't seeing many contributions nowadays and most contributions are maintenance tasks, having a better coverage is a bonus worth the somewhat longer waiting time. I expect the time to increase once we add more Scala patch version to a supported line. To speed things up, we have the option to scale out by splitting up the Scala versions in test matrix.