summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yaml6
1 files changed, 5 insertions, 1 deletions
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