From ca4288edaa226507e2a44182689a167bd4ea7948 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Sat, 8 Jul 2023 13:35:53 -0400 Subject: SL-18837: Try running just 'python' for Windows integration tests. --- .github/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c0bc5f30e1..47b1f421e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -177,7 +177,11 @@ jobs: # as neither CMake's FindPython nor our custom Python.cmake module # will resolve the correct interpreter location. if [[ "$RUNNER_OS" == "Windows" ]]; then - export PYTHON="$(native_path "$(which python)")" + ##export PYTHON="$(native_path "$(which python)")" + ## Weirdly, on GitHub's Windows runners, the integration test that + ## runs just 'python' succeeds while the integration tests that + ## run the full path to the .exe fail with "Access is denied." + export PYTHON=python echo "Python location: $PYTHON" export PYTHON_COMMAND="$PYTHON" else -- cgit v1.2.3