Skip to content

Commit 5b35047

Browse files
committed
fix path handling
1 parent e9988f7 commit 5b35047

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.evergreen/run-tests.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ set -eux
33

44
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
55
SCRIPT_DIR="$( cd -- "$SCRIPT_DIR" > /dev/null 2>&1 && pwd )"
6-
ROOT_DIR="$(dirname "$(dirname $SCRIPT_DIR)")"
6+
ROOT_DIR="$(dirname $SCRIPT_DIR)"
7+
8+
pushd $ROOT_DIR
79

8-
pwd
910
export PIP_QUIET=1 # Quiet by default
1011
export PIP_PREFER_BINARY=1 # Prefer binary dists by default
1112
export UV_FROZEN=1 # Do not modify lock files
@@ -26,8 +27,6 @@ else
2627
echo "Missing test inputs, please run 'just setup-test'"
2728
fi
2829

29-
pwd
30-
pushd $ROOT_DIR
3130

3231
# Source the local secrets export file if available.
3332
if [ -f "./secrets-export.sh" ]; then
@@ -36,7 +35,6 @@ fi
3635

3736
PYTHON_IMPL=$(uv run python -c "import platform; print(platform.python_implementation())")
3837

39-
pwd
4038
# Ensure C extensions if applicable.
4139
if [ -z "${NO_EXT:-}" ] && [ "$PYTHON_IMPL" = "CPython" ]; then
4240
uv run --frozen tools/fail_if_no_c.py

0 commit comments

Comments
 (0)