From 0167c2e0c9d5bb90f1539f1780e2b986bbe75f11 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 7 Aug 2019 22:09:18 +0200 Subject: [PATCH] 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 --- ci/build.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build.ps1 b/ci/build.ps1 index da1ad2f4b6..42066c462b 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -137,8 +137,10 @@ if ($uploadToCodecov) { # 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 +$env:PATH = $OldPath if ($uploadToCodecov) { bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest