@@ -40,34 +40,34 @@ jobs:
40
40
exit 1
41
41
fi
42
42
43
- c-source :
44
- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
45
- permissions :
46
- id-token : write
47
- contents : read
48
- with :
49
- repository : pytorch/vision
50
- test-infra-ref : release/2.7
51
- script : |
52
- set -euo pipefail
53
-
54
- echo '::group::Setup environment'
55
- CONDA_PATH=$(which conda)
56
- eval "$(${CONDA_PATH} shell.bash hook)"
57
- conda create --name ci --quiet --yes -c conda-forge python=3.9 clang-format
58
- conda activate ci
59
- echo '::endgroup::'
60
-
61
-
62
- echo '::group::Lint C source'
63
- set +e
64
- ./.github/scripts/run-clang-format.py -r torchvision/csrc --exclude "torchvision/csrc/io/image/cpu/giflib/*"
65
-
66
- if [ $? -ne 0 ]; then
67
- git --no-pager diff
68
- exit 1
69
- fi
70
- echo '::endgroup::'
43
+ # c-source:
44
+ # uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
45
+ # permissions:
46
+ # id-token: write
47
+ # contents: read
48
+ # with:
49
+ # repository: pytorch/vision
50
+ # test-infra-ref: main
51
+ # script: |
52
+ # set -euo pipefail
53
+
54
+ # echo '::group::Setup environment'
55
+ # CONDA_PATH=$(which conda)
56
+ # eval "$(${CONDA_PATH} shell.bash hook)"
57
+ # conda create --name ci --quiet --yes -c conda-forge python=3.9 clang-format
58
+ # conda activate ci
59
+ # echo '::endgroup::'
60
+
61
+
62
+ # echo '::group::Lint C source'
63
+ # set +e
64
+ # ./.github/scripts/run-clang-format.py -r torchvision/csrc --exclude "torchvision/csrc/io/image/cpu/giflib/*"
65
+
66
+ # if [ $? -ne 0 ]; then
67
+ # git --no-pager diff
68
+ # exit 1
69
+ # fi
70
+ # echo '::endgroup::'
71
71
72
72
73
73
python-types :
@@ -99,13 +99,14 @@ jobs:
99
99
mypy --install-types --non-interactive --config-file mypy.ini
100
100
echo '::endgroup::'
101
101
102
- bc :
103
- if : github.event.pull_request
104
- runs-on : ubuntu-latest
105
- steps :
106
- - name : Run BC Lint Action
107
- uses : pytorch/test-infra/.github/actions/bc-lint@release/2.7
108
- with :
109
- repo : ${{ github.event.pull_request.head.repo.full_name }}
110
- base_sha : ${{ github.event.pull_request.base.sha }}
111
- head_sha : ${{ github.event.pull_request.head.sha }}
102
+ # bc:
103
+ # if: github.event.pull_request
104
+ # runs-on: ubuntu-latest
105
+ # steps:
106
+ # - name: Run BC Lint Action
107
+ # uses: pytorch/test-infra/.github/actions/bc-lint@main
108
+ # with:
109
+ # repo: ${{ github.event.pull_request.head.repo.full_name }}
110
+ # base_sha: ${{ github.event.pull_request.base.sha }}
111
+ # head_sha: ${{ github.event.pull_request.head.sha }}
112
+ # >>>>>>> 8a06122218 (Deactivate bc linter (#8999))
0 commit comments