Skip to content

Commit 6eb4263

Browse files
[RELEASE ONLY CHANGES] Relax test-infra workflow pins (#19813)
Summary: - Relax the startup-failing test-infra reusable workflow calls back to @main, matching the workflow input schema these jobs use. - Leave the dependency/install files unchanged from release/1.3. Test Plan: - git diff --check - Confirmed the PR diff only touches workflow YAML files. Authored with Claude.
1 parent d20e9c4 commit 6eb4263

8 files changed

Lines changed: 86 additions & 86 deletions

File tree

.github/workflows/_test_backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
flow: ${{ fromJSON(inputs.flows) }}
5252
suite: [models, operators]
5353

54-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
54+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
5555
with:
5656
ref: ${{ inputs.ref }}
5757
runner: ${{ inputs.runner-linux }}
@@ -127,7 +127,7 @@ jobs:
127127
flow: ${{ fromJSON(inputs.flows) }}
128128
suite: [models, operators]
129129

130-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
130+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
131131
with:
132132
default-packages: ""
133133
ref: ${{ inputs.ref }}

.github/workflows/_test_cortex_m_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
run:
22-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
22+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2323
strategy:
2424
matrix:
2525
model: ${{ fromJSON(inputs.models) }}

.github/workflows/_unittest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727

2828
jobs:
2929
linux:
30-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
30+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3131
permissions:
3232
id-token: write
3333
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
4343
4444
macos:
45-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
45+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
4646
with:
4747
default-packages: ""
4848
runner: macos-m1-stable
@@ -57,7 +57,7 @@ jobs:
5757
5858
windows:
5959
if: ${{ inputs.build-tool == 'cmake' }}
60-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.12
60+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
6161
with:
6262
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6363
timeout: 120

.github/workflows/apple.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
name: build-demo-ios
8686
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
8787
if: ${{ !github.event.pull_request.head.repo.fork }}
88-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
88+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
8989
secrets: inherit
9090
with:
9191
default-packages: ""
@@ -156,7 +156,7 @@ jobs:
156156
permissions:
157157
id-token: write
158158
contents: read
159-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.12
159+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
160160
with:
161161
device-type: ios
162162
# For iOS testing, the runner just needs to call AWS Device Farm, so there is no need to run this on macOS
@@ -175,7 +175,7 @@ jobs:
175175
build-frameworks-ios:
176176
name: build-frameworks-ios
177177
needs: set-version
178-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
178+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
179179
with:
180180
default-packages: ""
181181
runner: macos-14-xlarge
@@ -315,7 +315,7 @@ jobs:
315315
name: build-benchmark-app
316316
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
317317
if: ${{ !github.event.pull_request.head.repo.fork }}
318-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
318+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
319319
secrets: inherit
320320
with:
321321
default-packages: ""

.github/workflows/build-presets.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414

1515
jobs:
1616
apple:
17-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
17+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
1818
strategy:
1919
fail-fast: false
2020
matrix:
@@ -34,7 +34,7 @@ jobs:
3434
${CONDA_RUN} cmake --build cmake-out -j$(( $(sysctl -n hw.ncpu) - 1 ))
3535
3636
zephyr:
37-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
37+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3838
strategy:
3939
fail-fast: false
4040
matrix:
@@ -73,7 +73,7 @@ jobs:
7373
cmake --preset ${{ matrix.preset }}
7474
cmake --build cmake-out -j$(( $(nproc) - 1 ))
7575
linux:
76-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
76+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
7777
strategy:
7878
fail-fast: false
7979
matrix:
@@ -106,7 +106,7 @@ jobs:
106106
cmake --build cmake-out -j$(( $(nproc) - 1 ))
107107
108108
windows:
109-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.12
109+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
110110
strategy:
111111
fail-fast: false
112112
matrix:

.github/workflows/metal.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323
jobs:
2424
test-metal-builds:
2525
name: test-executorch-metal-build
26-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
26+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
2727
with:
2828
default-packages: ""
2929
runner: macos-m2-stable
@@ -40,7 +40,7 @@ jobs:
4040
4141
test-metal-modules:
4242
name: test-metal-backend-modules
43-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
43+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
4444
with:
4545
default-packages: ""
4646
runner: macos-m2-stable
@@ -65,7 +65,7 @@ jobs:
6565
6666
test-metal-qwen35-moe-tiny:
6767
name: test-metal-qwen35-moe-tiny
68-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
68+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
6969
with:
7070
default-packages: ""
7171
runner: macos-m2-stable
@@ -164,7 +164,7 @@ jobs:
164164
name: export-model-metal-artifact
165165
# Skip this job if the pull request is from a fork (HuggingFace secrets are not available)
166166
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
167-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
167+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
168168
secrets: inherit
169169
strategy:
170170
fail-fast: false
@@ -235,7 +235,7 @@ jobs:
235235
test-model-metal-e2e:
236236
name: test-model-metal-e2e
237237
needs: export-model-metal-artifact
238-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
238+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
239239
strategy:
240240
fail-fast: false
241241
matrix:

0 commit comments

Comments
 (0)