mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Send message to internal chat room on Cloud TPU CI failure
This commit is contained in:
parent
da130cb074
commit
5da7976093
8
.github/workflows/cloud-tpu-ci-nightly.yml
vendored
8
.github/workflows/cloud-tpu-ci-nightly.yml
vendored
@ -57,3 +57,11 @@ jobs:
|
||||
env:
|
||||
JAX_PLATFORMS: tpu,cpu
|
||||
run: python -m pytest --tb=short tests examples
|
||||
- name: Send chat on failure
|
||||
if: failure()
|
||||
run: |
|
||||
curl --location --request POST '${{ secrets.BUILD_CHAT_WEBHOOK }}' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw "{
|
||||
'text': '\"$GITHUB_WORKFLOW\" job failed: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID'
|
||||
}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user