branch: externals/eglot
commit 34846c7ba7bac62adf38799e19437d8f90471dac
Author: Stefan Kangas <[email protected]>
Commit: Stefan Kangas <[email protected]>

    * .github/workflows/test.yml: Install eclipse.jdt.ls.
---
 .github/workflows/test.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f5dc8d3c52..329374a935 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -33,6 +33,12 @@ jobs:
           override: true
           components: rust-analysis, rust-src, rls
 
+    - name: Install eclipse.jdt.ls
+      run: |
+        curl -fSL 
https://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz 
-o eclipse.tar.gz
+        mkdir eclipse.jdt.ls
+        tar -C eclipse.jdt.ls -xzf eclipse.tar.gz
+
     - name: Install other depedencies
       run: |
            pip3 install python-language-server autopep8 rope pycodestyle 
pyflakes pydocstyle mccabe pylint
@@ -42,4 +48,6 @@ jobs:
       run: make compile
 
     - name: Test eglot
-      run: make eglot-check
+      run: |
+        export CLASSPATH=$(pwd)/$(find eclipse.jdt.ls/ -regex 
eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_.*.jar):${CLASSPATH}
+        make eglot-check

Reply via email to