From 0ff025c210f266131902f89f4cad9ef5efc480b0 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 1 Apr 2025 11:35:49 +0200 Subject: [PATCH] tests/{none-ls,efmls-configs}: disable tools requiring php-cs-fixer (marked as broken) --- .../plugins/by-name/efmls-configs/default.nix | 7 ++++++- .../plugins/by-name/none-ls/default.nix | 14 ++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/test-sources/plugins/by-name/efmls-configs/default.nix b/tests/test-sources/plugins/by-name/efmls-configs/default.nix index d4cd8e52..da9f9c0a 100644 --- a/tests/test-sources/plugins/by-name/efmls-configs/default.nix +++ b/tests/test-sources/plugins/by-name/efmls-configs/default.nix @@ -23,7 +23,12 @@ ]; brokenTools = - lib.optionals hostPlatform.isDarwin [ + [ + #TODO Added 2025-04-01 + # php-cs-fixer is marked as broken + "php_cs_fixer" + ] + ++ lib.optionals hostPlatform.isDarwin [ # As of 2024-01-04, texliveMedium is broken on darwin # TODO: re-enable those tests when fixed "chktex" diff --git a/tests/test-sources/plugins/by-name/none-ls/default.nix b/tests/test-sources/plugins/by-name/none-ls/default.nix index 645e6738..d73deac5 100644 --- a/tests/test-sources/plugins/by-name/none-ls/default.nix +++ b/tests/test-sources/plugins/by-name/none-ls/default.nix @@ -105,10 +105,16 @@ sources = let - disabled = lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [ - # Not available on aarch64-linux - "smlfmt" - ]; + disabled = + [ + #TODO Added 2025-04-01 + # php-cs-fixer is marked as broken + "phpcsfixer" + ] + ++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [ + # Not available on aarch64-linux + "smlfmt" + ]; in # Enable every none-ls source that has an option lib.mapAttrs (