Skip to content

Commit 7bb365f

Browse files
fix(ci): Fix system tests check step (#10033)
1 parent c69c2cd commit 7bb365f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/run-system-tests.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,15 @@ jobs:
8484
if: ${{ always() }}
8585
needs: [build, main]
8686
steps:
87-
- run: exit 0
87+
- name: Fail if build failed
88+
if: ${{ needs.build.result != 'success' }}
89+
run: |
90+
echo "❌ Build job did not succeed: ${{ needs.build.result }}"
91+
exit 1
92+
- name: Fail if main failed or is skipped
93+
if: ${{ needs.main.result != 'success' }}
94+
run: |
95+
echo "❌ Main job did not succeed: ${{ needs.main.result }}"
96+
exit 1
97+
- name: Success
98+
run: echo "✅ All required jobs succeeded."

0 commit comments

Comments
 (0)