SL-18837: Try running just 'python' for Windows integration tests.

master
Nat Goodspeed 2023-07-08 13:35:53 -04:00
parent eff1c0b55c
commit ca4288edaa
1 changed files with 5 additions and 1 deletions

View File

@ -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