File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 4444 id : smoke-test
4545 run : |
4646 echo "Running MCP smoke test..."
47- uv run scripts/test_mcp_server.py zenml_server.py
47+ uv run scripts/test_mcp_server.py server/ zenml_server.py
4848 continue-on-error : true
4949
5050 - name : Create issue on failure
@@ -122,8 +122,26 @@ jobs:
122122 });
123123 }
124124
125+ - name : Send Discord notification on failure
126+ if : steps.smoke-test.outcome == 'failure'
127+ uses : sarisia/actions-status-discord@v1
128+ with :
129+ webhook : ${{ secrets.DISCORD_WEBHOOK }}
130+ title : " 🚨 MCP Smoke Test Failed"
131+ description : |
132+ The automated MCP smoke test has failed for the ZenML MCP server.
133+
134+ **Workflow:** [Run #${{ github.run_number }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
135+ **Branch:** ${{ github.ref_name }}
136+ **Commit:** ${{ github.sha }}
137+ **Triggered by:** ${{ github.event_name }}
138+
139+ Please check the workflow logs for detailed error information.
140+ color : 0xff0000
141+ username : " GitHub Actions"
142+
125143 - name : Report success
126144 if : steps.smoke-test.outcome == 'success'
127145 run : |
128146 echo "✅ MCP smoke test passed successfully!"
129- echo "All MCP server functionality is working as expected."
147+ echo "All MCP server functionality is working as expected."
You can’t perform that action at this time.
0 commit comments