Test fix 220525 (#226)

* Try to fix TS test

* Fix gitlab ci yaml

* Fix gitlab ci syntax 2
This commit is contained in:
Andy Massimino
2022-05-25 22:08:52 -04:00
committed by GitHub
parent 45f9643b6b
commit ecf6f16bfa
3 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
---
stages:
- test
- gen_coverage
@@ -81,7 +82,9 @@ coverage:
script: cd ./test/new && make -j1 coverage
artifacts:
reports:
cobertura: ./test/new/coverage.xml
coverage_report:
coverage_format: cobertura
path: ./test/new/coverage.xml
paths:
- ./test/new/htmlcov

View File

@@ -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/after'
runtime! plugin/nvim-treesitter.vim
runtime! plugin/nvim-treesitter.lua
lua <<EOF
require'nvim-treesitter.configs'.setup {
matchup = {
@@ -15,8 +18,6 @@ if $TESTS_ENABLE_TREESITTER
}
}
EOF
runtime! plugin/nvim-treesitter.{vim,lua}
endif
filetype plugin indent on

View File

@@ -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/after'
runtime! plugin/nvim-treesitter.vim
runtime! plugin/nvim-treesitter.lua
lua <<EOF
require'nvim-treesitter.configs'.setup {
matchup = {