tests/{none-ls,efmls-configs}: disable cbfmt, latexindent and chktex on darwin (broken)

This commit is contained in:
Gaetan Lepage 2024-01-04 22:11:47 +01:00 committed by Gaétan Lepage
parent 6c3f97ccc0
commit 4c0a067afb
2 changed files with 17 additions and 5 deletions

View file

@ -15,10 +15,20 @@
# Where tools is the option type representing the valid tools for this language # Where tools is the option type representing the valid tools for this language
toolOptions = (builtins.head options.setup.type.getSubModules).options; toolOptions = (builtins.head options.setup.type.getSubModules).options;
brokenTools = [ brokenTools =
#Broken as of 16 of November 2023 [
"phpstan" #Broken as of 16 of November 2023
]; "phpstan"
]
++ pkgs.lib.optionals pkgs.stdenv.isDarwin [
# As of 2024-01-04, cbfmt is broken on darwin
# TODO: re-enable this test when fixed
"cbfmt"
# As of 2024-01-04, texliveMedium is broken on darwin
# TODO: re-enable those tests when fixed
"chktex"
"latexindent"
];
unpackaged = unpackaged =
[ [

View file

@ -84,7 +84,9 @@
formatting = { formatting = {
alejandra.enable = true; alejandra.enable = true;
black.enable = true; black.enable = true;
cbfmt.enable = true; # As of 2024-01-04, cbfmt is broken on darwin
# TODO: re-enable this test when fixed
cbfmt.enable = !pkgs.stdenv.isDarwin;
eslint.enable = true; eslint.enable = true;
eslint_d.enable = true; eslint_d.enable = true;
fantomas.enable = pkgs.stdenv.isLinux; fantomas.enable = pkgs.stdenv.isLinux;