test: ensure dependencies are updated when running tests

This commit is contained in:
Steven Arcangeli 2022-11-27 13:43:12 -08:00
parent e161ad5f47
commit eb821e5636

View file

@ -10,9 +10,13 @@ PLUGINS=".testenv/data/nvim/site/pack/plugins/start"
if [ ! -e "$PLUGINS/plenary.nvim" ]; then
git clone --depth=1 https://github.com/nvim-lua/plenary.nvim.git "$PLUGINS/plenary.nvim"
else
(cd "$PLUGINS/plenary.nvim" && git pull)
fi
if [ ! -e "$PLUGINS/nvim-treesitter" ]; then
git clone --depth=1 https://github.com/nvim-treesitter/nvim-treesitter.git "$PLUGINS/nvim-treesitter"
else
(cd "$PLUGINS/nvim-treesitter" && git pull)
fi
XDG_CONFIG_HOME=".testenv/config" \