Skip to content

Commit

Permalink
Run TPU CI when label is on PR (#6984)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar authored Apr 26, 2024
1 parent b834e49 commit 174f407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# New CI workflow
build-torch-xla:
name: "Build PyTorch/XLA (TPU)"
name: "Build PyTorch/XLA"
uses: ./.github/workflows/_build_torch_xla.yml
with:
dev-image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_tpuvm
Expand Down Expand Up @@ -86,5 +86,5 @@ jobs:
uses: ./.github/workflows/_tpu_ci.yml
needs: build-torch-xla
# Only run this for HEAD and releases
if: github.event_name == 'push'
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'tpuci')

0 comments on commit 174f407

Please sign in to comment.