Commit 6bc8b30 1 parent 4e8d43e commit 6bc8b30 Copy full SHA for 6bc8b30
File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,19 @@ jobs:
50
50
51
51
- name : Run VizroAI UI tests
52
52
run : |
53
- hatch run vizro-ai-ui
54
53
hatch run test-vizro-ai-ui
55
54
env :
56
55
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
57
56
OPENAI_API_BASE : ${{ secrets.OPENAI_API_BASE }}
58
57
59
- - name : Create artifacts and slack notifications
60
- if : failure()
61
- uses : ./.github/actions/failed-artifacts-and-slack-notifications
62
- env :
63
- TESTS_NAME : VizroAI UI tests
64
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
65
- PROJECT_PATH : /home/runner/work/vizro/vizro/vizro-ai/
58
+ - name : Send custom JSON data to Slack
59
+ id : slack
60
+
61
+ with :
62
+ payload : |
63
+ {
64
+ "text": "VizroAI UI tests build result: ${{ job.status }}\nBranch: ${{ github.head_ref }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
65
+ }
66
+ env :
67
+ SLACK_WEBHOOK_URL : ${{ env.SLACK_WEBHOOK_URL }}
68
+ SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
You can’t perform that action at this time.
0 commit comments