Skip to content
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

Create sbt submodules per scala version #2057

Merged
merged 6 commits into from
Dec 26, 2023

Conversation

kyri-petrou
Copy link
Collaborator

This allows us to run the compile / test all modules for a given Scala version which makes dev experience a bit better. e.g., to run all the test suites for Scala 3, all we need to run is sbt ++3.3.1 rootJVM3/test.

In addition to improving dev experience, it also makes CI run faster as SBT can parallelise the compiling of SBT modules & test execution

Copy link
Owner

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's nice. How about adding it to the instructions that show up when we start sbt? (for example the scala 3 case)

build.sbt Outdated Show resolved Hide resolved
@kyri-petrou
Copy link
Collaborator Author

Ah that's nice. How about adding it to the instructions that show up when we start sbt? (for example the scala 3 case)

Done - Also made some small changes to it that I think make sense - let me know what you think

.circleci/config.yml Outdated Show resolved Hide resolved
@ghostdogpr ghostdogpr merged commit 765318f into series/2.x Dec 26, 2023
10 checks passed
@ghostdogpr ghostdogpr deleted the scala-version-subprojects branch December 26, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants