summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-08 13:35:53 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-07-08 13:35:53 -0400
commitca4288edaa226507e2a44182689a167bd4ea7948 (patch)
treeeb1480346825d5d474de9a3b7ea4e9edc66428e1
parenteff1c0b55c075eca88690b3547f58eb57c789b85 (diff)
SL-18837: Try running just 'python' for Windows integration tests.
-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