We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41dc80 commit ebb31aeCopy full SHA for ebb31ae
1 file changed
.github/workflows/it-test.yml
@@ -136,7 +136,23 @@ jobs:
136
fi
137
138
- name: Check test results
139
- if: failure()
+ if: always()
140
+ shell: bash
141
run: |
- echo "Job failed because some tests failed. Please check the logs above for details."
142
- exit 1
+ # Check init tests
143
+ if [ "${{ steps.run_init_tests_unix.outcome }}" = "failure" ]; then
144
+ echo "::error::Init tests failed"
145
+ FAILED=true
146
+ fi
147
+
148
+ # Check tool tests
149
+ if [ "${{ steps.run_tests.outcome }}" = "failure" ]; then
150
+ echo "::error::Tool tests failed"
151
152
153
154
+ # Fail if any tests failed
155
+ if [ "${FAILED:-false}" = "true" ]; then
156
+ echo "Some tests failed. Please check the logs above for details."
157
+ exit 1
158
0 commit comments