Skip to content

Commit 5b006fb

Browse files
Merge pull request #8236 from gabro/munit-community-build
Add MUnit to the community build
2 parents c2073c6 + bd468ee commit 5b006fb

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@
7171
[submodule "community-build/community-projects/zio"]
7272
path = community-build/community-projects/zio
7373
url = https://github.com/dotty-staging/zio.git
74+
[submodule "community-build/community-projects/munit"]
75+
path = community-build/community-projects/munit
76+
url = https://github.com/dotty-staging/munit.git
Submodule munit added at 17db2aa

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ object projects:
274274
sbtTestCommand = "testJVMDotty",
275275
sbtUpdateCommand = "update"
276276
)
277+
278+
lazy val munit = SbtCommunityProject(
279+
project = "munit",
280+
sbtTestCommand = "testsJVM/test",
281+
sbtUpdateCommand = "munitJVM/update",
282+
)
283+
277284
end projects
278285

279286
@Category(Array(classOf[TestCategory]))
@@ -348,6 +355,7 @@ class CommunityBuildTest:
348355
@Test def effpi = projects.effpi.run()
349356
@Test def sconfig = projects.sconfig.run()
350357
@Test def zio = projects.zio.run()
358+
@Test def munit = projects.munit.run()
351359
end CommunityBuildTest
352360

353361
class TestCategory

community-build/test/scala/dotty/communitybuild/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ To add your project to the community build you can follow these steps:
1414
2. Open a PR against this repo that:
1515
- Adds your project as a new git submodule
1616
- `git submodule add https://github.com/lampepfl/XYZ.git community-build/community-projects/XYZ`
17-
- Adds a test in [CommunityBuildTest.scala](https://github.com/lampepfl/dotty/blob/master/src/test/scala/dotty/community-build/src/test/scala/dotty/communitybuild/CommunityBuildTest.scala)
17+
- Adds a test in [CommunityBuildTest.scala](https://github.com/lampepfl/dotty/blob/master/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala)

0 commit comments

Comments
 (0)