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: 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

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,' . &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

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,' . &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 = {