mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Split neovim tests for ts
This commit is contained in:
10
.github/workflows/neovim.yml
vendored
10
.github/workflows/neovim.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
matrix:
|
||||
neovim_version:
|
||||
- 'head'
|
||||
- 'v0.5.0'
|
||||
- 'v0.4.3'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -28,12 +29,6 @@ jobs:
|
||||
vim_version: '${{ matrix.neovim_version }}'
|
||||
vim_type: 'Neovim'
|
||||
|
||||
- name: Install nvim-treesitter
|
||||
run: git clone --depth=1 https://github.com/nvim-treesitter/nvim-treesitter.git test/vader/plugged/nvim-treesitter
|
||||
|
||||
- name: Install python treesitter module
|
||||
run: nvim --headless -Nu test/vader/minvimrc -c 'TSInstallSync python' -c 'q'
|
||||
|
||||
- name: 'Show version'
|
||||
run: nvim --version
|
||||
|
||||
@@ -41,9 +36,6 @@ jobs:
|
||||
run: |
|
||||
bash -c 'VIMCMD=nvim test/vader/run'
|
||||
|
||||
- name: Install ruby treesitter module
|
||||
run: nvim --headless -Nu test/vader/minvimrc -c 'TSInstallSync ruby' -c 'q'
|
||||
|
||||
- name: 'Run new tests'
|
||||
run: |
|
||||
cd ./test/new && make -j1 && make -j1 coverage
|
||||
|
||||
51
.github/workflows/neovim_treesitter.yml
vendored
Normal file
51
.github/workflows/neovim_treesitter.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
name: Neovim with Tree-sitter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
neovim_version:
|
||||
- 'head'
|
||||
- 'v0.5.0'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TESTS_ENABLE_TREESITTER: 1
|
||||
steps:
|
||||
- uses: 'actions/checkout@v2'
|
||||
|
||||
- name: Install vader.vim
|
||||
run: git clone --depth=1 https://github.com/junegunn/vader.vim.git test/vader/vader.vim
|
||||
|
||||
- name: 'setup Neovim'
|
||||
uses: 'thinca/action-setup-vim@v1'
|
||||
with:
|
||||
vim_version: '${{ matrix.neovim_version }}'
|
||||
vim_type: 'Neovim'
|
||||
|
||||
- name: Install nvim-treesitter
|
||||
run: git clone --depth=1 https://github.com/nvim-treesitter/nvim-treesitter.git test/vader/plugged/nvim-treesitter
|
||||
|
||||
- name: Install python treesitter module
|
||||
run: nvim --headless -Nu test/vader/minvimrc -c 'TSInstallSync python' -c 'q'
|
||||
|
||||
- name: 'Show version'
|
||||
run: nvim --version
|
||||
|
||||
- name: 'Run test'
|
||||
run: |
|
||||
bash -c 'VIMCMD=nvim test/vader/run'
|
||||
|
||||
- name: Install ruby treesitter module
|
||||
run: nvim --headless -Nu test/vader/minvimrc -c 'TSInstallSync ruby' -c 'q'
|
||||
|
||||
- name: 'Run new tests'
|
||||
run: |
|
||||
cd ./test/new && make -j1 && make -j1 coverage
|
||||
Reference in New Issue
Block a user