mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:50:05 +08:00
test(win): fix win test
This commit is contained in:
parent
14d9c8bb55
commit
df7925fc4d
@ -38,6 +38,7 @@ function install_nvim($ver)
|
|||||||
$Env:VIM_BIN = $Env:DEPS + '\nvim-win64\bin\nvim.exe'
|
$Env:VIM_BIN = $Env:DEPS + '\nvim-win64\bin\nvim.exe'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
echo "VIM_BIN is: $Env:VIM_BIN"
|
||||||
}
|
}
|
||||||
|
|
||||||
function download_lua()
|
function download_lua()
|
||||||
|
12
.github/workflows/check.yml
vendored
12
.github/workflows/check.yml
vendored
@ -181,7 +181,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if ($Env:VIM_BIN.StartsWith("nvim"))
|
if ($Env:VIM_BIN.StartsWith("nvim"))
|
||||||
{
|
{
|
||||||
if (Test-Path '$DEPS\Neovim\bin\nvim.exe') {
|
if (Test-Path $env:DEPS\Neovim\bin ) {
|
||||||
$Env:PATH = $Env:DEPS + '\Neovim\bin\;' + $Env:PATH
|
$Env:PATH = $Env:DEPS + '\Neovim\bin\;' + $Env:PATH
|
||||||
$Env:VIM = $Env:DEPS + '\Neovim\share\nvim'
|
$Env:VIM = $Env:DEPS + '\Neovim\share\nvim'
|
||||||
}else{
|
}else{
|
||||||
@ -194,10 +194,6 @@ jobs:
|
|||||||
$Env:PATH = $Env:DEPS + '\vim\vim82\;' + $Env:PATH
|
$Env:PATH = $Env:DEPS + '\vim\vim82\;' + $Env:PATH
|
||||||
$Env:VIM = $Env:DEPS + '\vim'
|
$Env:VIM = $Env:DEPS + '\vim'
|
||||||
}
|
}
|
||||||
$VIM_BIN --version
|
echo $Env:PATH
|
||||||
pip3 install --upgrade "pip < 21.0"
|
echo $Env:VIM
|
||||||
pip3 install 'click<8.0.0'
|
make test
|
||||||
pip3 install covimerage virtualenv codecov
|
|
||||||
make test_coverage
|
|
||||||
covimerage -vv xml --omit 'build/*' --omit 'bundle/*'
|
|
||||||
codecov -X search gcov pycov -f coverage.xml
|
|
||||||
|
9
test/lua/data/toml.vader
Normal file
9
test/lua/data/toml.vader
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Execute ( SpaceVim lua api: data#toml ):
|
||||||
|
if !has('nvim-0.5.0')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let cmp = SpaceVim#api#import('vim#compatible')
|
||||||
|
lua sp_toml = require('spacevim.api').import('data.toml')
|
||||||
|
AssertEqual cmp.luaeval("sp_toml.parse_file('mode/basic.toml').options.colorscheme"), 'gruvbox'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user