Skip to content

Support discarding the CST to preserve memory #2586

Support discarding the CST to preserve memory

Support discarding the CST to preserve memory #2586

Triggered via pull request November 6, 2024 14:39
Status Failure
Total duration 2m 14s
Artifacts

actions.yml

on: pull_request
Langium Lint
49s
Langium Lint
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
packages/langium/test/grammar/lsp/grammar-formatter.test.ts > Grammar Formatter > Indents interface properties: packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected 'interface Test {\n' + ' // This is a comment\n' + + 'a: string\n' + - ' a: string\n' + ' b: number\n' + ' // This is another comment\n' + + ' c: boolean\n' + - ' c: boolean\n' + '}' - Expected + Received interface Test { // This is a comment - a: string + a: string b: number // This is another comment - c: boolean + c: boolean } ❯ expectedFunction packages/langium/src/test/langium-test.ts:54:12 ❯ packages/langium/src/test/langium-test.ts:489:9 ❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:19:9
packages/langium/test/grammar/lsp/grammar-formatter.test.ts > Grammar Formatter > No edits if document is already formatted: packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L88
AssertionError: expected 2 to be +0 // Object.is equality - Expected + Received - 0 + 2 ❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:88:30
Langium CI (ubuntu-latest)
Process completed with exit code 1.
packages/langium/test/grammar/lsp/grammar-formatter.test.ts > Grammar Formatter > Indents interface properties: packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected 'interface Test {\r\n' + ' // This is a comment\r\n' + + 'a: string\r\n' + - ' a: string\r\n' + ' b: number\r\n' + ' // This is another comment\r\n' + + ' c: boolean\r\n' + - ' c: boolean\r\n' + '}' - Expected + Received interface Test { // This is a comment - a: string + a: string b: number // This is another comment - c: boolean + c: boolean } ❯ expectedFunction packages/langium/src/test/langium-test.ts:54:12 ❯ packages/langium/src/test/langium-test.ts:489:9 ❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:19:9
packages/langium/test/grammar/lsp/grammar-formatter.test.ts > Grammar Formatter > No edits if document is already formatted: packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L88
AssertionError: expected 2 to be +0 // Object.is equality - Expected + Received - 0 + 2 ❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:88:30
Langium CI (windows-latest)
Process completed with exit code 1.
Langium Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Langium CI (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Langium CI (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/