feat: add BSL (1C:Enterprise) language server support (#1430)

Required bumping of java to 21 in CI
This commit is contained in:
Данилов Роман authored and GitHub committed 2026-05-11 10:09:51 +02:00
1 parent 737ef76723
commit fb9c822178
24 files changed
+930 -4

No files matched your search

+8
View File
@@ -278,6 +278,10 @@ _LANGUAGE_PYTEST_MARKERS: dict[Language, list[MarkDecorator | Mark]] = {
Language.PYTHON_TY: [pytest.mark.python],
Language.RUST: [pytest.mark.rust],
Language.TYPESCRIPT: [pytest.mark.typescript],
Language.BSL: [
pytest.mark.bsl,
pytest.mark.skipif(_sh.which("java") is None, reason="Java is not installed"),
],
Language.ANGULAR: [pytest.mark.angular],
Language.HTML: [pytest.mark.html],
Language.SCSS: [pytest.mark.scss],
@@ -331,6 +335,10 @@ def _determine_disabled_languages() -> list[Language]:
if not al_tests_enabled:
result.append(Language.AL)
# Disable BSL tests only when Java is not available (Java IS present in CI via actions/setup-java)
if _sh.which("java") is None:
result.append(Language.BSL)
return result