File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -178,3 +178,10 @@ jobs:
178178
179179 echo "Sending notification to Power Automate..."
180180 curl -X POST -H "Content-Type: application/json" -d "$JSON_PAYLOAD" "${{ secrets.PYFLUENT_WEBHOOK_URL }}"
181+
182+
183+ - name : Check test run status and fail the whole job if tests failed
184+ if : steps.fluent_test.outcome != 'success'
185+ run : |
186+ echo "One or more tests failed. Failing the job."
187+ exit 1
Original file line number Diff line number Diff line change @@ -170,3 +170,10 @@ jobs:
170170
171171 echo "Sending notification to Power Automate..."
172172 curl -X POST -H "Content-Type: application/json" -d "$JSON_PAYLOAD" "${{ secrets.PYFLUENT_WEBHOOK_URL }}"
173+
174+ - name : Check test run status and fail the whole job if tests failed
175+ if : steps.unittest.outcome != 'success'
176+ run : |
177+ echo "One or more tests failed. Failing the job."
178+ exit 1
179+
You can’t perform that action at this time.
0 commit comments