Skip to content

Commit 5b1cc6b

Browse files
committed
chore: add test suite for the presentation compiler
1 parent 10a8773 commit 5b1cc6b

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
uses: actions/checkout@v5
126126

127127
- name: Test
128-
run: sbt ";scala3-bootstrapped/compile; scala3-presentation-compiler/test; scala3-language-server/test"
128+
run: sbt ";scala3-bootstrapped/compile; scala3-language-server/test"
129129
shell: cmd
130130

131131
- name: build binary

.github/workflows/stdlib.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,23 @@ jobs:
316316
- name: Compile `scaladoc`
317317
run: ./project/scripts/sbt scaladoc-new/compile
318318

319+
presentation-compiler:
320+
runs-on: ubuntu-latest
321+
steps:
322+
- name: Git Checkout
323+
uses: actions/checkout@v5
324+
325+
- name: Set up JDK 17
326+
uses: actions/setup-java@v5
327+
with:
328+
distribution: 'temurin'
329+
java-version: 17
330+
cache: 'sbt'
331+
- uses: sbt/setup-sbt@v1
332+
333+
- name: Compile `scala3-presentation-compiler`
334+
run: ./project/scripts/sbt scala3-presentation-compiler/compile
335+
319336
#################################################################################################
320337
########################################### MiMa JOBS ###########################################
321338
#################################################################################################
@@ -583,6 +600,23 @@ jobs:
583600
- name: Test REPL
584601
run: ./project/scripts/sbt scala3-repl/test
585602

603+
test-presentation-compiler:
604+
runs-on: ubuntu-latest
605+
needs: [presentation-compiler]
606+
steps:
607+
- name: Git Checkout
608+
uses: actions/checkout@v5
609+
610+
- name: Set up JDK 17
611+
uses: actions/setup-java@v5
612+
with:
613+
distribution: 'temurin'
614+
java-version: 17
615+
cache: 'sbt'
616+
- uses: sbt/setup-sbt@v1
617+
- name: Test Presentation Compiler
618+
run: ./project/scripts/sbt scala3-presentation-compiler/test
619+
586620
scripted-tests:
587621
runs-on: ubuntu-latest
588622
needs: [scala3-compiler-bootstrapped, tasty-core-bootstrapped, scala3-staging, scala3-tasty-inspector, scala-library-sjs, scaladoc]

0 commit comments

Comments
 (0)