mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
tests: skip builds for warning-only cases
This commit is contained in:
@@ -145,5 +145,6 @@
|
||||
];
|
||||
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
empty = {
|
||||
# Tries to write to a log file
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
|
||||
plugins.java.enable = true;
|
||||
|
||||
@@ -15,6 +16,7 @@
|
||||
defaults = {
|
||||
# Tries to write to a log file
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
|
||||
plugins.java = {
|
||||
enable = true;
|
||||
@@ -72,6 +74,7 @@
|
||||
explicit-disable-spring-boot-tools = {
|
||||
# Tries to write to a log file
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
|
||||
plugins.java = {
|
||||
enable = true;
|
||||
@@ -86,6 +89,7 @@
|
||||
with-spring-boot-plugin = {
|
||||
# Tries to write to a log file
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
|
||||
plugins = {
|
||||
java.enable = true;
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
|
||||
warning-no-highlight = {
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
test.warnings = expect: [
|
||||
(expect "count" 1)
|
||||
(expect "any" "You have enabled otter, but treesitter syntax highlighting is not enabled.")
|
||||
@@ -77,6 +78,7 @@
|
||||
|
||||
warning-no-treesitter = {
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
test.warnings = expect: [
|
||||
(expect "count" 1)
|
||||
(expect "any" "You have enabled otter, but treesitter syntax highlighting is not enabled.")
|
||||
|
||||
@@ -134,6 +134,7 @@
|
||||
|
||||
legacy-highlight-disable-warning = {
|
||||
test.runNvim = false;
|
||||
test.buildNixvim = false;
|
||||
test.warnings = expect: [
|
||||
(expect "count" 1)
|
||||
(expect "any" "`plugins.treesitter.settings.highlight.disable` is an upstream legacy nvim-treesitter")
|
||||
|
||||
Reference in New Issue
Block a user