Skip to content

Commit a88c2a8

Browse files
update check-bypass
1 parent d065a87 commit a88c2a8

7 files changed

Lines changed: 49 additions & 56 deletions

File tree

.github/workflows/_910B-ARM.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -86,6 +78,13 @@ jobs:
8678
-v ${{ github.workspace }}:/paddle -w /PaddleCustomDevice \
8779
${docker_image} /bin/bash
8880
81+
- name: Check bypass
82+
id: check-bypass
83+
uses: ./.github/actions/check-bypass
84+
with:
85+
github-token: ${{ secrets.GITHUB_TOKEN }}
86+
workflow-name: 910b-arm
87+
8988
- name: RUN 910B-ARM
9089
if: steps.check-bypass.outputs.can-skip != 'true'
9190
run: |

.github/workflows/_910B-X86.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -86,6 +78,13 @@ jobs:
8678
-v ${{ github.workspace }}:/paddle -w /PaddleCustomDevice \
8779
${docker_image} /bin/bash
8880
81+
- name: Check bypass
82+
id: check-bypass
83+
uses: ./.github/actions/check-bypass
84+
with:
85+
github-token: ${{ secrets.GITHUB_TOKEN }}
86+
workflow-name: 910b-x86
87+
8988
- name: RUN 910B-X86
9089
if: steps.check-bypass.outputs.can-skip != 'true'
9190
run: |

.github/workflows/_Codestyle-Check.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,7 @@ jobs:
3232
run: |
3333
rm -rf * .[^.]*
3434
35-
- name: Check bypass
36-
id: check-bypass
37-
uses: ./.github/actions/check-bypass
38-
with:
39-
github-token: ${{ secrets.GITHUB_TOKEN }}
40-
workflow-name: codestyle
41-
4235
- name: Check docker image and run container
43-
if: steps.check-bypass.outputs.can-skip != 'true'
4436
env:
4537
python: "python3.10"
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
@@ -72,6 +64,13 @@ jobs:
7264
-e GITHUB_API_TOKEN \
7365
-w /paddle --network host ${docker_image} /bin/bash
7466
67+
- name: Check bypass
68+
id: check-bypass
69+
uses: ./.github/actions/check-bypass
70+
with:
71+
github-token: ${{ secrets.GITHUB_TOKEN }}
72+
workflow-name: codestyle
73+
7574
- name: Download PaddleCustomDevice.tar.gz
7675
if: steps.check-bypass.outputs.can-skip != 'true'
7776
run: |

.github/workflows/_GCU.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -65,6 +57,13 @@ jobs:
6557
-v ${{ github.workspace }}:/paddle -w /PaddleCustomDevice \
6658
${docker_image} /bin/bash
6759
60+
- name: Check bypass
61+
id: check-bypass
62+
uses: ./.github/actions/check-bypass
63+
with:
64+
github-token: ${{ secrets.GITHUB_TOKEN }}
65+
workflow-name: gcu
66+
6867
- name: RUN GCU
6968
if: steps.check-bypass.outputs.can-skip != 'true'
7069
run: |

.github/workflows/_HPU.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -65,6 +57,13 @@ jobs:
6557
-v ${{ github.workspace }}:/workspace -w /workspace \
6658
${docker_image} /bin/bash
6759
60+
- name: Check bypass
61+
id: check-bypass
62+
uses: ./.github/actions/check-bypass
63+
with:
64+
github-token: ${{ secrets.GITHUB_TOKEN }}
65+
workflow-name: hpu
66+
6867
- name: RUN HPU
6968
if: steps.check-bypass.outputs.can-skip != 'true'
7069
run: |

.github/workflows/_IXUCA.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -67,6 +59,13 @@ jobs:
6759
-v ${{ github.workspace }}:/workspace -w /workspace \
6860
${docker_image} /bin/bash
6961
62+
- name: Check bypass
63+
id: check-bypass
64+
uses: ./.github/actions/check-bypass
65+
with:
66+
github-token: ${{ secrets.GITHUB_TOKEN }}
67+
workflow-name: ixuca
68+
7069
- name: RUN IXUCA
7170
if: steps.check-bypass.outputs.can-skip != 'true'
7271
run: |

.github/workflows/_MLU.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
rm -rf * .[^.]*
3535
36-
- name: Check bypass
37-
id: check-bypass
38-
uses: ./.github/actions/check-bypass
39-
with:
40-
github-token: ${{ secrets.GITHUB_TOKEN }}
41-
workflow-name: codestyle
42-
4336
- name: Check docker image and run container
44-
if: steps.check-bypass.outputs.can-skip != 'true'
4537
env:
4638
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
4739
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -66,6 +58,13 @@ jobs:
6658
-v ${{ github.workspace }}:/paddle -w /PaddleCustomDevice \
6759
${docker_image} /bin/bash
6860
61+
- name: Check bypass
62+
id: check-bypass
63+
uses: ./.github/actions/check-bypass
64+
with:
65+
github-token: ${{ secrets.GITHUB_TOKEN }}
66+
workflow-name: mlu
67+
6968
- name: RUN MLU
7069
if: steps.check-bypass.outputs.can-skip != 'true'
7170
run: |

0 commit comments

Comments
 (0)