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:
David Bernazal
2025-07-01 07:33:57 -05:00
parent c665099740
commit 6d7e4a2e5e
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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()