scala / toolkit

The batteries-included Scala
https://docs.scala-lang.org/toolkit/introduction.html
86 stars 12 forks source link

Add cross platform tests and rework changelog #41

Closed szymon-rd closed 3 months ago

szymon-rd commented 7 months ago

Still WIP, going to add it to gh actions

szymon-rd commented 6 months ago

Blocked by https://github.com/softwaremill/sttp/pull/2082

adpi2 commented 3 months ago

@szymon-rd @bishabosha I took this PR over.

The goal of the PR is to test that we can compile and run some toolkit scripts on all different platforms. The tests/shared folder contains the scripts that are valid in all platforms. tests/js, tests/native and tests/jvm contain the script that are only valid for Scala Native, Scala.js and JVM respectively.

I also reworked the changelog code which is responsible for generating the changelog and checking that all version updates are valid. It was not working anymore because of 0.5 being the default Scala Native version in Scala CLI.