mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-16 08:15:31 +00:00
feat: add BSL (1C:Enterprise) language server support (#1430)
Required bumping of java to 21 in CI
This commit is contained in:
1 parent
737ef76723
commit
fb9c822178
24 files changed
+930
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user