Skip to content

Commit 14d0086

Browse files
committed
try cursor fix to parse the changed directories
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent 0173c0d commit 14d0086

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/unit-tests-recipes.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,12 @@ jobs:
100100
uses: actions/checkout@v4
101101

102102
- name: Run tests
103-
run: ./ci/recipes_local_test.py ${{ fromJson(needs.changed-dirs.outputs.dirs) }}
103+
env:
104+
DIRS_JSON: ${{ needs.changed-dirs.outputs.dirs }}
105+
run: |
106+
# Convert JSON array to space-separated arguments
107+
DIRS_ARGS=$(echo "$DIRS_JSON" | jq -r '.[]' | tr '\n' ' ')
108+
./ci/recipes_local_test.py $DIRS_ARGS
104109
105110
verify-recipe-tests:
106111
# This job checks the status of the unit-tests matrix and fails if any matrix job failed or was cancelled.

0 commit comments

Comments
 (0)