Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

name: Continuous Integration Testing
on:
push:
branches:
- main
pull_request: {}
jobs:
microprofile-jdt-ext-verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21 for x64
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: x64
cache: maven
- name: Run the Maven verify phase
working-directory: "microprofile.jdt"
run: mvn --batch-mode --update-snapshots verify
microprofile-ls-verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11 for x64
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
architecture: x64
cache: maven
- name: Run the Maven verify phase
working-directory: "microprofile.ls/org.eclipse.lsp4mp.ls"
run: mvn --batch-mode --update-snapshots verify
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ public static IJavaProject loadMavenProjectFromSubFolder(String mavenProject, St
IProgressMonitor monitor = new NullProgressMonitor();
waitForBackgroundJobs(monitor);
org.eclipse.jdt.ls.core.internal.JobHelpers.waitUntilIndexesReady();

Map<String, Object> extendedClientCapabilities = new HashMap<>();
extendedClientCapabilities.put("classFileContentsSupport", "true");
JavaLanguageServerPlugin.getPreferencesManager().updateClientPrefences(new ClientCapabilities(), extendedClientCapabilities);

// Collect Quarkus properties from the "hibernate-orm-resteasy" project. It
// should collect Quarkus properties from given JAR:

Expand Down
Loading