Skip to content

Commit 17ebdc8

Browse files
committed
.appveyor.yml: Put /usr/bin first in PATH
The previous commit failed with the same errors as before: https://ci.appveyor.com/project/mbland/go-script-bash/build/v1.6.0.3 Upon closer inspection, both of the failing tests executed `perl`. Indeed, the Appveyor images have Perl installed separately from Git and available in the PATH: https://www.appveyor.com/docs/build-environment/#perl This Perl is most likely doing the Unix-to-native path translation. This change attempts to fix the tests by ensuring the MSYS2 Perl that comes with Git for Windows will get executed instead.
1 parent 34452a8 commit 17ebdc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ build: off
1111
test_script:
1212
- where bash
1313
- bash --version
14-
- bash -c './go test'
14+
- bash -c 'echo PATH="$PATH"'
15+
- bash -c 'PATH="/usr/bin:$PATH" ./go test'

0 commit comments

Comments
 (0)