Skip to content

Add pipeline to validate that tree-sitter changes works with language server #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

Qluxzz
Copy link
Contributor

@Qluxzz Qluxzz commented Dec 20, 2023

          LGTM, let's see if this still works in the server

Originally posted by @razzeee in #144 (comment)

I thought it was a good idea to create a pipeline in this repo that could validate that all tests in elm-language-server works with the updated wasm bundle before allowing the changes to be merged.

cd elm-language-server/
npm i
npm run compile
npm install -g elm-format
Copy link
Contributor Author

@Qluxzz Qluxzz Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@razzeee I saw that this was done in the elm-language-server test pipeline as well, but I'm just wondering if it wouldn't be better to add elm-format to the devDependencies for elm-language-server.

Currently if you checkout the elm-language-server repo and try to run the test suite without having elm-format installed globally, the test in test/diff.test.ts fails.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually unsure, has been some time since we looked at this and the binary is not exactly the same thing as the node dependency if I remember correctly, it has different performance etc.

It might work fine, if it's only for the tests though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants