Skip to content

Commit 9e1bb76

Browse files
committed
chore: add workflow to test the scala3-language-server
1 parent 25ed202 commit 9e1bb76

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-language-server/test"
128+
run: sbt ";scala3-bootstrapped/compile"
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
@@ -333,6 +333,23 @@ jobs:
333333
- name: Compile `scala3-presentation-compiler`
334334
run: ./project/scripts/sbt scala3-presentation-compiler/compile
335335

336+
language-server:
337+
runs-on: ubuntu-latest
338+
steps:
339+
- name: Git Checkout
340+
uses: actions/checkout@v5
341+
342+
- name: Set up JDK 17
343+
uses: actions/setup-java@v5
344+
with:
345+
distribution: 'temurin'
346+
java-version: 17
347+
cache: 'sbt'
348+
- uses: sbt/setup-sbt@v1
349+
350+
- name: Compile `scala3-language-server`
351+
run: ./project/scripts/sbt scala3-language-server/compile
352+
336353
#################################################################################################
337354
########################################### MiMa JOBS ###########################################
338355
#################################################################################################
@@ -617,6 +634,23 @@ jobs:
617634
- name: Test Presentation Compiler
618635
run: ./project/scripts/sbt scala3-presentation-compiler/test
619636

637+
test-language-server:
638+
runs-on: ubuntu-latest
639+
needs: [language-server]
640+
steps:
641+
- name: Git Checkout
642+
uses: actions/checkout@v5
643+
644+
- name: Set up JDK 17
645+
uses: actions/setup-java@v5
646+
with:
647+
distribution: 'temurin'
648+
java-version: 17
649+
cache: 'sbt'
650+
- uses: sbt/setup-sbt@v1
651+
- name: Test Language Server
652+
run: ./project/scripts/sbt scala3-language-server/test
653+
620654
scripted-tests:
621655
runs-on: ubuntu-latest
622656
needs: [scala3-compiler-bootstrapped, tasty-core-bootstrapped, scala3-staging, scala3-tasty-inspector, scala-library-sjs, scaladoc]

0 commit comments

Comments
 (0)