Skip to content

Commit bb7e193

Browse files
committed
Migrate towards linux_job_v2.yml
1 parent 7d077f1 commit bb7e193

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/build-cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
gpu-arch-type: cuda
2121
gpu-arch-version: "11.8"
2222
fail-fast: false
23-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
23+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2424
with:
2525
repository: pytorch/vision
2626
runner: ${{ matrix.runner }}

.github/workflows/docs.yml

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

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1818
with:
1919
repository: pytorch/vision
2020
upload-artifact: docs
@@ -77,11 +77,11 @@ jobs:
7777
7878
upload:
7979
needs: build
80-
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
80+
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
8181
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
8282
permissions:
8383
contents: write
84-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
84+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
8585
with:
8686
repository: pytorch/vision
8787
download-artifact: docs

.github/workflows/lint.yml

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

1212
jobs:
1313
python-source-and-configs:
14-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1515
with:
1616
repository: pytorch/vision
1717
test-infra-ref: main
@@ -38,7 +38,7 @@ jobs:
3838
fi
3939
4040
c-source:
41-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
41+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
4242
with:
4343
repository: pytorch/vision
4444
test-infra-ref: main
@@ -65,7 +65,7 @@ jobs:
6565
6666
6767
python-types:
68-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
68+
uses: pytorch/test-infra/.github/workflows/_v2.yml@main
6969
with:
7070
repository: pytorch/vision
7171
test-infra-ref: main

.github/workflows/prototype-tests-linux-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
gpu-arch-type: cuda
2424
gpu-arch-version: "11.8"
2525
fail-fast: false
26-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
26+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2727
with:
2828
repository: pytorch/vision
2929
runner: ${{ matrix.runner }}
@@ -37,7 +37,7 @@ jobs:
3737
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
3838
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
3939
./.github/scripts/setup-env.sh
40-
40+
4141
# Prepare conda
4242
CONDA_PATH=$(which conda)
4343
eval "$(${CONDA_PATH} shell.bash hook)"

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
gpu-arch-type: cuda
2727
gpu-arch-version: "11.8"
2828
fail-fast: false
29-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
29+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3030
with:
3131
repository: pytorch/vision
3232
runner: ${{ matrix.runner }}
@@ -104,7 +104,7 @@ jobs:
104104
./.github/scripts/unittest.sh
105105
106106
onnx:
107-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
107+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
108108
with:
109109
repository: pytorch/vision
110110
test-infra-ref: main
@@ -135,7 +135,7 @@ jobs:
135135
echo '::endgroup::'
136136
137137
unittests-extended:
138-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
138+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
139139
if: contains(github.event.pull_request.labels.*.name, 'run-extended')
140140
with:
141141
repository: pytorch/vision

0 commit comments

Comments
 (0)