ci(windows): skip oldtest on windows until failing tests are fixed

The oltests hang on windows, making all CI runs fail.
This commit is contained in:
Dundar Göc 2022-02-27 17:30:32 +01:00
parent a7bc3e0f7b
commit 07d3fb6e3b

View File

@ -164,17 +164,21 @@ if (-not $NoTests) {
exit $LastExitCode
}
# FIXME: These tests freezes on github CI and causes all jobs to fail.
# Comment out until this is fixed.
# Old tests
# Add MSYS to path, required for e.g. `find` used in test scripts.
# But would break functionaltests, where its `more` would be used then.
$OldPath = $env:PATH
$env:PATH = "C:\msys64\usr\bin;$env:PATH"
& "C:\msys64\mingw$bits\bin\mingw32-make.exe" -C $(Convert-Path ..\src\nvim\testdir) VERBOSE=1 ; exitIfFailed
$env:PATH = $OldPath
if ($uploadToCodecov) {
bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest
}
# $OldPath = $env:PATH
# $env:PATH = "C:\msys64\usr\bin;$env:PATH"
# & "C:\msys64\mingw$bits\bin\mingw32-make.exe" -C $(Convert-Path ..\src\nvim\testdir) VERBOSE=1 ; exitIfFailed
# $env:PATH = $OldPath
# if ($uploadToCodecov) {
# bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest
# }
}
# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's