Unverified Commit 1d6f7875 authored by Huy Do's avatar Huy Do Committed by GitHub
Browse files

Specify test-infra branch to main (#8046)

parent 70a8e05a
...@@ -26,6 +26,7 @@ jobs: ...@@ -26,6 +26,7 @@ jobs:
runner: ${{ matrix.runner }} runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }} gpu-arch-version: ${{ matrix.gpu-arch-version }}
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -46,6 +47,7 @@ jobs: ...@@ -46,6 +47,7 @@ jobs:
with: with:
repository: pytorch/vision repository: pytorch/vision
runner: ${{ matrix.runner }} runner: ${{ matrix.runner }}
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -71,6 +73,7 @@ jobs: ...@@ -71,6 +73,7 @@ jobs:
runner: ${{ matrix.runner }} runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }} gpu-arch-version: ${{ matrix.gpu-arch-version }}
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
......
...@@ -18,6 +18,7 @@ jobs: ...@@ -18,6 +18,7 @@ jobs:
with: with:
repository: pytorch/vision repository: pytorch/vision
upload-artifact: docs upload-artifact: docs
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -85,6 +86,7 @@ jobs: ...@@ -85,6 +86,7 @@ jobs:
repository: pytorch/vision repository: pytorch/vision
download-artifact: docs download-artifact: docs
ref: gh-pages ref: gh-pages
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
......
...@@ -14,6 +14,7 @@ jobs: ...@@ -14,6 +14,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
repository: pytorch/vision repository: pytorch/vision
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -40,6 +41,7 @@ jobs: ...@@ -40,6 +41,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
repository: pytorch/vision repository: pytorch/vision
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -74,6 +76,7 @@ jobs: ...@@ -74,6 +76,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
repository: pytorch/vision repository: pytorch/vision
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
......
...@@ -33,6 +33,7 @@ jobs: ...@@ -33,6 +33,7 @@ jobs:
gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }} gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120 timeout: 120
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -62,6 +63,7 @@ jobs: ...@@ -62,6 +63,7 @@ jobs:
# and needs roughly 2 hours to just run the test suite # and needs roughly 2 hours to just run the test suite
timeout: 240 timeout: 240
runner: ${{ matrix.runner }} runner: ${{ matrix.runner }}
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -94,6 +96,7 @@ jobs: ...@@ -94,6 +96,7 @@ jobs:
gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }} gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120 timeout: 120
test-infra-ref: main
script: | script: |
set -euxo pipefail set -euxo pipefail
...@@ -109,6 +112,7 @@ jobs: ...@@ -109,6 +112,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
repository: pytorch/vision repository: pytorch/vision
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
...@@ -139,6 +143,7 @@ jobs: ...@@ -139,6 +143,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
repository: pytorch/vision repository: pytorch/vision
test-infra-ref: main
script: | script: |
set -euo pipefail set -euo pipefail
......
...@@ -18,6 +18,7 @@ jobs: ...@@ -18,6 +18,7 @@ jobs:
with: with:
repository: pytorch/vision repository: pytorch/vision
required_checks: "Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs" required_checks: "Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs"
test-infra-ref: main
secrets: secrets:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }} ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }} GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment