Add vader new test shim

Install vader properly
This commit is contained in:
Andy K. Massimino
2021-10-06 19:27:51 -04:00
parent ef9b5a2176
commit 12a7ccd12b
2 changed files with 16 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ stages:
- apk add curl git bash make
- apk add build-base neovim python3
- curl -sSL https://bootstrap.pypa.io/get-pip.py | python3
- git clone --depth=1 https://github.com/junegunn/vader.vim.git ./test/vader/vader.vim
test-latest:
stage: test

View File

@@ -0,0 +1,15 @@
.PHONY: test
MYVIM ?= nvim --headless
INMAKE := 1
export INMAKE
VADER_DIR := ../../vader
TESTS := $(wildcard $(VADER_DIR)/*.vader)
TESTS := $(TESTS:.vader=)
test: $(TESTS)
$(VADER_DIR)/%: $(VADER_DIR)/%.vader
$(MYVIM) -u $(VADER_DIR)/minvimrc +Vader! $<