mirror of
https://github.com/ROCm/jax.git
synced 2025-04-15 19:36:06 +00:00
Merge pull request #13281 from google:tpu_notify_main_only
PiperOrigin-RevId: 489025620
This commit is contained in:
commit
3a837c8069
3
.github/workflows/cloud-tpu-ci-nightly.yml
vendored
3
.github/workflows/cloud-tpu-ci-nightly.yml
vendored
@ -55,7 +55,8 @@ jobs:
|
|||||||
JAX_PLATFORMS: tpu,cpu
|
JAX_PLATFORMS: tpu,cpu
|
||||||
run: python -m pytest --tb=short tests examples
|
run: python -m pytest --tb=short tests examples
|
||||||
- name: Send chat on failure
|
- name: Send chat on failure
|
||||||
if: failure()
|
# Don't notify when testing the workflow from a branch.
|
||||||
|
if: ${{ failure() && github.ref_name == 'main' }}
|
||||||
run: |
|
run: |
|
||||||
curl --location --request POST '${{ secrets.BUILD_CHAT_WEBHOOK }}' \
|
curl --location --request POST '${{ secrets.BUILD_CHAT_WEBHOOK }}' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user