Skip to content

Commit 2208af0

Browse files
author
Jan Steinke
committed
add dependencies
1 parent 8e8325e commit 2208af0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/test.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,20 @@ jobs:
1515
neovim: true
1616
version: v0.9.5
1717

18+
- name: Prepare dependencies
19+
run: |
20+
mkdir -p ~/.local/share/nvim/site/pack/vendor/start
21+
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
22+
git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
23+
git clone --depth 1 https://github.com/nvim-neotest/nvim-nio ~/.local/share/nvim/site/pack/vendor/start/nvim-nio
24+
ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
25+
export PATH="${PWD}/_neovim/bin:${PATH}"
26+
export VIM="${PWD}/_neovim/share/nvim/runtime"
27+
nvim --headless -c 'TSInstallSync lua | quit'
28+
1829
- name: run test
19-
run: make test
30+
run: |
31+
export PATH="${PWD}/_neovim/bin:${PATH}"
32+
export VIM="${PWD}/_neovim/share/nvim/runtime"
33+
nvim --version
34+
make test

0 commit comments

Comments
 (0)