mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-03 04:18:34 +00:00
Address PR #261 feedback: Add Elixir CI support and fix codespell error
- Add Elixir/Erlang setup to pytest.yml using erlef/setup-beam@v1 - Configure Elixir 1.18.4 and OTP 26.1 for CI compatibility - Fix codespell false positive for '*cripts' glob pattern with ignore comment - Resolves CI test failures for Elixir language server integration
This commit is contained in:
@@ -35,6 +35,11 @@ jobs:
|
||||
- name: Install gopls
|
||||
shell: bash
|
||||
run: go install golang.org/x/tools/gopls@latest
|
||||
- name: Set up Elixir
|
||||
uses: erlef/setup-beam@v1
|
||||
with:
|
||||
elixir-version: '1.18.4'
|
||||
otp-version: '26.1'
|
||||
- name: Prepare java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
|
||||
@@ -65,7 +65,7 @@ def test_find_references_ignores_dir(ls_with_ignored_dirs: SolidLanguageServer):
|
||||
@pytest.mark.parametrize("repo_path", [Language.ELIXIR], indirect=True)
|
||||
def test_refs_and_symbols_with_glob_patterns(repo_path: Path) -> None:
|
||||
"""Tests that refs and symbols with glob patterns are ignored."""
|
||||
ignored_paths = ["*cripts", "ignored_*"]
|
||||
ignored_paths = ["*cripts", "ignored_*"] # codespell:ignore cripts
|
||||
ls = create_ls(ignored_paths=ignored_paths, repo_path=str(repo_path), language=Language.ELIXIR)
|
||||
ls.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user