Skip to content

Commit 83b2b2c

Browse files
hamzaremmalWojciechMazur
authored andcommitted
chore: add test suite for the presentation compiler
[Cherry-picked 5b1cc6b]
1 parent bb4f45a commit 83b2b2c

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
@@ -315,6 +315,23 @@ jobs:
315315
- name: Compile `scaladoc`
316316
run: ./project/scripts/sbt scaladoc-new/compile
317317

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

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

0 commit comments

Comments
 (0)