This project contains tests to build and test a corpus of open sources Scala projects against the latest version of Scala 3.
To run the community build on a local machine, first fetch all the git submodules with git submodule update --init
and run sbt community-build/test
from the root of the dotty repo.
To run a single project, you can use the usual syntax for running a single JUnit test, for example community-build/testOnly -- *shapeless
To add your project to the community build you can follow these steps:
-
Get your project to compile with Scala 3. Instructions can be found on the scala3-example-project. See the submodules in community-projects for examples of projects that compile with Scala 3.
-
Open a PR against this repo that:
- Adds your project as a new git submodule
git submodule add https://github.com/dotty-staging/XYZ.git community-build/community-projects/XYZ
- Add the project to projects.scala
- Adds a test in CommunityBuildTest.scala
- Adds your project as a new git submodule