From 3b040ce854edaf7bc03263f83121a06628cf1f2a Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 1 Nov 2022 13:02:09 +0100 Subject: test: remove bundled parsers in CI ensure that queries are tested against parser version in lockfile --- scripts/ci-install-macos-latest.sh | 1 + scripts/ci-install-ubuntu-latest.sh | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/ci-install-macos-latest.sh b/scripts/ci-install-macos-latest.sh index 79b957cbc..9899f17e1 100644 --- a/scripts/ci-install-macos-latest.sh +++ b/scripts/ci-install-macos-latest.sh @@ -1,5 +1,6 @@ curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz sudo ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin +rm -rf $(pwd)/nvim-macos/lib/nvim/parser mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start diff --git a/scripts/ci-install-ubuntu-latest.sh b/scripts/ci-install-ubuntu-latest.sh index ecfc164f6..e65c670dc 100644 --- a/scripts/ci-install-ubuntu-latest.sh +++ b/scripts/ci-install-ubuntu-latest.sh @@ -1,10 +1,9 @@ wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/${TREE_SITTER_CLI_TAG}/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter sudo cp ./tree-sitter /usr/bin/tree-sitter sudo chmod uog+rwx /usr/bin/tree-sitter -wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage -chmod u+x nvim.appimage +wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz +tar -zxf nvim-linux64.tar.gz +sudo ln -s $(pwd)/nvim-linux64/bin/nvim /usr/local/bin +rm -rf $(pwd)/nvim-linux64/lib/nvim/parser mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start -sudo cp ./nvim.appimage /usr/bin/nvim -sudo chmod uog+rwx /usr/bin/nvim - -- cgit v1.2.3-70-g09d2