From 12a7ccd12bf2b352552cea50f648d2c83cd26670 Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Wed, 6 Oct 2021 19:27:51 -0400 Subject: [PATCH] Add vader new test shim Install vader properly --- .gitlab-ci.yml | 1 + test/new/test-vader/Makefile | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 test/new/test-vader/Makefile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73a589e..a188261 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/test/new/test-vader/Makefile b/test/new/test-vader/Makefile new file mode 100644 index 0000000..69e6649 --- /dev/null +++ b/test/new/test-vader/Makefile @@ -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! $<