Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: ["11"]
node: [20]
node: [22]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion rsp/targetplatform/rsp-community-target.target
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</location>

<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<repository location="https://github.com/redhat-developer/rsp-server/releases/download/tp0_26_20/"/>
<repository location="https://github.com/redhat-developer/rsp-server/releases/download/tp0_26_21/"/>
<unit id="org.jboss.tools.rsp.api" version="0.0.0"/>
<unit id="org.jboss.tools.rsp.foundation.core" version="0.0.0"/>
<unit id="org.jboss.tools.rsp.launching" version="0.0.0"/>
Expand Down
10 changes: 5 additions & 5 deletions vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/test-electron": "^3.1.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"decache": "^4.5.1",
Expand Down
10 changes: 9 additions & 1 deletion vscode/test/test-runner.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as os from 'os';
import * as path from 'path';

import { runTests } from '@vscode/test-electron';
Expand All @@ -12,9 +13,16 @@ async function main() {
// Passed to --extensionTestsPath
const extensionTestsPath = path.resolve(__dirname, './');

const launchArgs: string[] = [];
// macOS limits Unix domain socket paths to 104 bytes; CI workspace paths
// can exceed this, causing VS Code's IPC socket to fail with EINVAL.
if (os.platform() === 'darwin') {
launchArgs.push('--user-data-dir=/tmp/vsctest');
}

// Download VS Code, unzip it and run the integration test
console.log(extensionDevelopmentPath, extensionTestsPath);
await runTests({ extensionDevelopmentPath, extensionTestsPath });
await runTests({ extensionDevelopmentPath, extensionTestsPath, launchArgs });
} catch (err) {
console.error(err);
process.exit(1);
Expand Down
Loading