Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: cleanup #3045

Merged
merged 2 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions tests/lsp-servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@ let
"ruff_lsp"
"bufls"
"typst_lsp"
# Package ‘dotnet-core-combined’ is marked as insecure, refusing to evaluate.
# Dotnet SDK 6.0.428 is EOL, please use 8.0 (LTS) or 9.0 (Current)
# https://github.com/NixOS/nixpkgs/pull/358533
"dafny"
"fsautocomplete"
"omnisharp"

# TODO: 2025-01-22 python312Packages.anytree is broken (dependency of bitbake-language-server)
"bitbake_language_server"
]
++ lib.optionals pkgs.stdenv.isDarwin [
"fsautocomplete"
]
++ lib.optionals pkgs.stdenv.isAarch64 [
# Broken
"scheme_langserver"
Expand All @@ -63,14 +55,8 @@ let
# TODO: 2025-01-09 python312Packages.tree-sitter (dependency of autotools-language-server) is broken
# https://github.com/NixOS/nixpkgs/issues/372375
"autotools_ls"
# Binary package not available for this architecture
"starpls"
# TODO: 2024-10-05 build failure
"fstar"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "x86_64-darwin") [
# Binary package not available for this architecture
"starpls"
];
in
{
Expand Down
3 changes: 0 additions & 3 deletions tests/test-sources/plugins/by-name/dropbar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,6 @@
};
};
fzf = {
keymaps = {
# TODO
};
win_configs = {
relative = "win";
anchor = "NW";
Expand Down
20 changes: 3 additions & 17 deletions tests/test-sources/plugins/by-name/efmls-configs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,7 @@
];

brokenTools =
[
# TODO: added 2024-09-13
# Swift broken everywhere atm
"swiftformat"
"swiftlint"
# TODO: added 2024-10-15
# re-enable after fixed
"dmd"
]
++ lib.optionals (system == "aarch64-linux") [
# Broken as of 2024-07-13
# TODO: re-enable this tests when fixed
"textlint"
]
++ lib.optionals pkgs.stdenv.isDarwin [
lib.optionals pkgs.stdenv.isDarwin [
# As of 2024-01-04, texliveMedium is broken on darwin
# TODO: re-enable those tests when fixed
"chktex"
Expand All @@ -48,8 +34,6 @@
# https://github.com/NixOS/nixpkgs/pull/331373
# TODO: re-enable this test when fixed
"dmd"
# As of 2024-11-03, graalvm-ce (dependency of clj-kondo) is broken on x86_64-darwin
"clj_kondo"
];

# TODO: respect unpackaged from generated
Expand Down Expand Up @@ -80,6 +64,8 @@
"slim_lint"
"solhint"
"sorbet"
"swiftformat"
"swiftlint"
"xo"
]
++ lib.optionals pkgs.stdenv.isDarwin [ "clazy" ]
Expand Down
10 changes: 1 addition & 9 deletions tests/test-sources/plugins/by-name/lean/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{ lib, pkgs, ... }:
let
platform = pkgs.stdenv.hostPlatform;

# TODO: `cadical`, one of `lean4`'s dependencies is broken on x86_64-darwin
# https://github.com/NixOS/nixpkgs/pull/371275
doRun = !(platform.isDarwin && platform.isx86_64);
in
lib.optionalAttrs doRun {
{
empty = {
plugins.lean.enable = true;
};
Expand Down
4 changes: 0 additions & 4 deletions tests/test-sources/plugins/by-name/neoclip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
};

with-sqlite = {
# TODO: added 2024-09-13
# re-enable when sqlite fixed
test.runNvim = false;

plugins = {
sqlite-lua.enable = true;
neoclip = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/dart.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
13 changes: 3 additions & 10 deletions tests/test-sources/plugins/by-name/neotest/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins.neotest.enable = true;
};

# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
all-adapters = lib.mkIf pkgs.stdenv.isLinux {
all-adapters = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down Expand Up @@ -48,9 +43,7 @@
};
};

# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
defaults = lib.mkIf pkgs.stdenv.isLinux {
defaults = {
plugins.neotest = {
enable = true;

Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/dotnet.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/elixir.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/foundry.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/go.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/golang.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/gtest.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
# We cannot test neotest-gtest as it tries to create file in the upper directory
# https://github.com/alfaix/neotest-gtest/blob/6e794ac91f4c347e2ea5ddeb23d594f8fc64f2a8/lua/neotest-gtest/utils.lua#L10-L16
test.runNvim = false;
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/haskell.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/java.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/jest.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/minitest.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/pest.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/phpunit.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/playwright.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/plenary.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/python.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/rspec.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
defaults = lib.mkIf pkgs.stdenv.isLinux {
defaults = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/rust.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/scala.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
5 changes: 1 addition & 4 deletions tests/test-sources/plugins/by-name/neotest/vitest.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{ lib, pkgs, ... }:
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
example = {
plugins = {
treesitter.enable = true;
neotest = {
Expand Down
Loading