Skip to content

Commit 0da9674

Browse files
committed
adding the status check
1 parent 8b14dcd commit 0da9674

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/agentex-tutorials-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,3 +313,9 @@ jobs:
313313
echo "ℹ️ **Tests were cancelled or skipped.**" >> $GITHUB_STEP_SUMMARY
314314
fi
315315
fi
316+
317+
- name: Fail if tests failed
318+
if: ${{ needs.test-tutorial.result != 'success' }}
319+
run: |
320+
echo "❌ Test jobs did not succeed. Result: ${{ needs.test-tutorial.result }}"
321+
exit 1

0 commit comments

Comments
 (0)