test gitlab with TS

This commit is contained in:
Andy K. Massimino
2021-10-04 07:50:37 -04:00
parent 9e94ac059d
commit 4553475098
2 changed files with 20 additions and 0 deletions

View File

@@ -58,6 +58,21 @@ test-neovim:
paths:
- ./test/new/cov.tmp/
test-neovim-treesitter:
stage: test
extends: .setup
image: alpine:latest
variables:
TESTS_ENABLE_TREESITTER: 1
script:
- git clone --depth=1 https://github.com/nvim-treesitter/nvim-treesitter.git test/vader/plugged/nvim-treesitter
- cd ./test/new
- nvim --headless -Nu common/bootstrap.vim -c 'TSInstallSync! python' -c 'TSInstallSync! ruby' -c 'q'
- make -j1
artifacts:
paths:
- ./test/new/cov.tmp/
coverage:
stage: gen_coverage
extends: .setup

View File

@@ -40,3 +40,8 @@ env/pyvenv.cfg:
python3 -m venv env
. env/bin/activate
pip install -r requirements.txt
ifndef MAKECMDGOALS
test: sysinfo
$(TESTS): sysinfo
endif