mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Test fix 220525 (#226)
* Try to fix TS test * Fix gitlab ci yaml * Fix gitlab ci syntax 2
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- gen_coverage
|
- gen_coverage
|
||||||
@@ -81,7 +82,9 @@ coverage:
|
|||||||
script: cd ./test/new && make -j1 coverage
|
script: cd ./test/new && make -j1 coverage
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
cobertura: ./test/new/coverage.xml
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: ./test/new/coverage.xml
|
||||||
paths:
|
paths:
|
||||||
- ./test/new/htmlcov
|
- ./test/new/htmlcov
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ if $TESTS_ENABLE_TREESITTER
|
|||||||
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
||||||
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
||||||
|
|
||||||
|
runtime! plugin/nvim-treesitter.vim
|
||||||
|
runtime! plugin/nvim-treesitter.lua
|
||||||
|
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
matchup = {
|
matchup = {
|
||||||
@@ -15,8 +18,6 @@ if $TESTS_ENABLE_TREESITTER
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
runtime! plugin/nvim-treesitter.{vim,lua}
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ if $TESTS_ENABLE_TREESITTER
|
|||||||
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
||||||
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
||||||
|
|
||||||
|
runtime! plugin/nvim-treesitter.vim
|
||||||
|
runtime! plugin/nvim-treesitter.lua
|
||||||
|
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
matchup = {
|
matchup = {
|
||||||
|
|||||||
Reference in New Issue
Block a user