mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:00:04 +08:00
fix(vader): fix vader test for vim
This commit is contained in:
parent
040cb825c3
commit
59a3ba86be
15
.github/workflows/check.yml
vendored
15
.github/workflows/check.yml
vendored
@ -12,12 +12,21 @@ jobs:
|
||||
vimtag: nightly
|
||||
- vimbin: vim
|
||||
vimtag: v7.4.052
|
||||
disable_es: true
|
||||
- vimbin: vim
|
||||
vimtag: v7.4.629
|
||||
disable_es: true
|
||||
- vimbin: vim
|
||||
vimtag: v7.4.1689
|
||||
disable_es: true
|
||||
- vimbin: vim
|
||||
vimtag: v8.0.0027
|
||||
disable_es: true
|
||||
- vimbin: vim
|
||||
vimtag: v8.0.0183
|
||||
disable_es: true
|
||||
- vimbin: vim
|
||||
vimtag: v8.0.0184
|
||||
- vimbin: vim
|
||||
vimtag: v8.0.1453
|
||||
- vimbin: vim
|
||||
@ -51,6 +60,7 @@ jobs:
|
||||
VIM_BIN: ${{ matrix.vimbin }}
|
||||
VIM_TAG: ${{ matrix.vimtag }}
|
||||
DEPS: /home/runner/work/SpaceVim/deps
|
||||
DISABLE_ES: ${{ matrix.disable_es }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
@ -70,6 +80,11 @@ jobs:
|
||||
export PATH="${DEPS}/_vim/${VIM_TAG}/bin:${PATH}"
|
||||
export VIM="${DEPS}/_vim/${VIM_TAG}/share/vim"
|
||||
fi
|
||||
if [ "$DISABLE_ES" = "true" ]; then
|
||||
export VIM_Es=""
|
||||
else
|
||||
export VIM_Es="-Es"
|
||||
fi
|
||||
export PATH="/home/runner/.local/bin:${PATH}"
|
||||
echo "\$PATH: \"${PATH}\""
|
||||
echo "\$VIM: \"${VIM}\""
|
||||
|
6
Makefile
6
Makefile
@ -1,13 +1,13 @@
|
||||
test: build/vader | build
|
||||
$(VIM_BIN) -Nu test/vimrc -Es -c 'Vader! test/**'
|
||||
$(VIM_BIN) -Nu test/vimrc $(VIM_Es) -c 'Vader! test/**'
|
||||
|
||||
COVIMERAGE=$(shell command -v covimerage 2>/dev/null || echo build/covimerage/bin/covimerage)
|
||||
|
||||
test_coverage: $(COVIMERAGE) build/vader | build
|
||||
$(COVIMERAGE) run --source after --source syntax --source autoload --source colors --source config --source ftplugin $(VIM_BIN) -Nu test/vimrc -Es -c 'Vader! test/**'
|
||||
$(COVIMERAGE) run --source after --source syntax --source autoload --source colors --source config --source ftplugin $(VIM_BIN) -Nu test/vimrc $(VIM_Es) -c 'Vader! test/**'
|
||||
|
||||
$(COVIMERAGE):
|
||||
$(COVIMERAGE) run --source after --source syntax --source autoload --source colors --source config --source ftplugin $(VIM_BIN) -Nu test/vimrc -Es -c 'Vader! test/**'
|
||||
$(COVIMERAGE) run --source after --source syntax --source autoload --source colors --source config --source ftplugin $(VIM_BIN) -Nu test/vimrc $(VIM_Es) -c 'Vader! test/**'
|
||||
|
||||
build/covimerage:
|
||||
virtualenv $@
|
||||
|
Loading…
Reference in New Issue
Block a user