mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
tests/neotest: disable on darwin
Upstream package failing to build in sandbox. Cannot set a package to null so just disabling those tests on darwin.
This commit is contained in:
parent
f88402d5a7
commit
ccc2469e4f
21 changed files with 90 additions and 23 deletions
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
empty = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins.neotest.enable = true;
|
plugins.neotest.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
all-adapters = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
all-adapters = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
@ -43,7 +48,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
defaults = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins.neotest = {
|
plugins.neotest = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
# We cannot test neotest-gtest as it tries to create file in the upper directory
|
# 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
|
# https://github.com/alfaix/neotest-gtest/blob/6e794ac91f4c347e2ea5ddeb23d594f8fc64f2a8/lua/neotest-gtest/utils.lua#L10-L16
|
||||||
test.runNvim = false;
|
test.runNvim = false;
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
defaults = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
defaults = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
example = {
|
# TODO: added 2024-09-15
|
||||||
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||||
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
neotest = {
|
neotest = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue