ci: AppVeyor: fix upload of coverage for oldtest (#10721)
This was not working due to having another `python` in the PATH then. Ref: https://ci.appveyor.com/project/neovim/neovim/builds/26492761/job/dspm40v5l2v6gn40?fullLog=true#L15955
This commit is contained in:
parent
1d6e368159
commit
0167c2e0c9
|
@ -137,8 +137,10 @@ if ($uploadToCodecov) {
|
||||||
# Old tests
|
# Old tests
|
||||||
# Add MSYS to path, required for e.g. `find` used in test scripts.
|
# Add MSYS to path, required for e.g. `find` used in test scripts.
|
||||||
# But would break functionaltests, where its `more` would be used then.
|
# But would break functionaltests, where its `more` would be used then.
|
||||||
|
$OldPath = $env:PATH
|
||||||
$env:PATH = "C:\msys64\usr\bin;$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
|
& "C:\msys64\mingw$bits\bin\mingw32-make.exe" -C $(Convert-Path ..\src\nvim\testdir) VERBOSE=1
|
||||||
|
$env:PATH = $OldPath
|
||||||
|
|
||||||
if ($uploadToCodecov) {
|
if ($uploadToCodecov) {
|
||||||
bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest
|
bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest
|
||||||
|
|
Loading…
Reference in New Issue