This commit is contained in:
Glen
2024-12-07 19:28:54 +00:00
committed by Glen
parent 16b126d890
commit f087c0ac99
+3 -1
View File
@@ -29,6 +29,8 @@ jobs:
which python3.12 || echo "python3.12 not in PATH"
# Add common Python installation locations to PATH
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
# Install jq using homebrew (since this is macOS)
brew install jq || brew upgrade jq
# Now try to create the venv with explicit python3.12
python3.12 -m venv env || {
echo "Failed to find python3.12. Checking installation locations:"
@@ -52,7 +54,7 @@ jobs:
trap 'kill $TAIL1' EXIT
for i in {1..100}; do
nodes=$(curl http://localhost:52415/topology | $(which jq) \".nodes | length\")
nodes=$(curl http://localhost:52415/topology | jq ".nodes | length")
if [ "$nodes" -eq "${{ strategy.job-total }}" ]; then
break
fi