[object Object]

← back to Exo

fix

f087c0ac992f01dd88eab9ffa8af4de3f0f4bf16 · 2024-12-06 21:39:33 +0000 · Glen

Files touched

Diff

commit f087c0ac992f01dd88eab9ffa8af4de3f0f4bf16
Author: Glen <glen@192.168.1.214>
Date:   Fri Dec 6 21:39:33 2024 +0000

    fix
---
 .github/workflows/build_and_test.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 0ecdbf4d..e7ea6d3a 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -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

← 16b126d8 fix  ·  back to Exo  ·  path 9fc33587 →