Fix 'nvim-test-runner' reproducibility
For some reason, it looks like my personal configuration is interfering with the tests despite `--noplug -u minimal_init.lua`... Rather than investigate what _exactly_ is going on, let's merge this work-around for now.
This commit is contained in:
parent
5cbdf5e3ac
commit
f228904ed0
|
@ -61,6 +61,10 @@
|
||||||
export NVIM_TREESITTER_TEXTOBJECTS='${pkgs.vimPlugins.nvim-treesitter-textobjects}'
|
export NVIM_TREESITTER_TEXTOBJECTS='${pkgs.vimPlugins.nvim-treesitter-textobjects}'
|
||||||
export NVIM_TREESITTER_PARSER='${pkgs.vimPlugins.nvim-treesitter.grammarToPlugin self.packages.${system}.tree-sitter-bp}'
|
export NVIM_TREESITTER_PARSER='${pkgs.vimPlugins.nvim-treesitter.grammarToPlugin self.packages.${system}.tree-sitter-bp}'
|
||||||
|
|
||||||
|
# FIXME: not sure why, but I get different behaviour when left untouched
|
||||||
|
XDG_CONFIG_HOME=$(mktemp -d)
|
||||||
|
export XDG_CONFIG_HOME
|
||||||
|
|
||||||
nvim --headless --noplugin -u ${scripts/minimal_init.lua} \
|
nvim --headless --noplugin -u ${scripts/minimal_init.lua} \
|
||||||
-c "PlenaryBustedDirectory test/ { minimal_init = '${./scripts/minimal_init.lua}' }"
|
-c "PlenaryBustedDirectory test/ { minimal_init = '${./scripts/minimal_init.lua}' }"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue