Skip to content

Commit 22299dc

Browse files
committed
[WIP] hopefully for the usage of the binary server
- Fix the activation test Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 5f19b0f commit 22299dc

5 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
path: server
4747
- name: Make lemminx binary executable
4848
run: chmod u+x ./server/lemminx-linux
49+
- name: Make lemminx binary trusted
50+
run: sha256sum ./server/lemminx-linux > ./server/lemminx-linux.sha256
4951
- name: Install dependencies
5052
run: npm i --also=dev
5153
- name: Run smoke test suite

.vscode-test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import { defineConfig } from '@vscode/test-cli';
22

33
export default defineConfig({
44
files: 'out/src/test/**/*.test.js',
5+
workspaceFolder: 'test-workspace'
56
});

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ images/
1515
.tool-versions
1616
.github/
1717
.gitignore
18+
test-workspace

src/test/smoke.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ suite('Smoke tests', function () {
9797
});
9898

9999
test("extension starts", async function () {
100-
const api: XMLExtensionApi = await vscode.extensions.getExtension('redhat.vscode').activate();
100+
const api: XMLExtensionApi = await vscode.extensions.getExtension('redhat.vscode-xml').activate();
101101
assert.notEqual(api, undefined);
102102
});
103103

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"xml.server.preferBinary": true
3+
}

0 commit comments

Comments
 (0)