Skip to content

Commit 75d9316

Browse files
committed
update
1 parent 8c38787 commit 75d9316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
needs:
117117
- prepare
118118
- build-torch
119-
if: ${{ success() || needs.build-torch.result == 'skipped'}}
119+
if: ${{ success() || needs.build-torch.result == 'skipped' }}
120120
uses: ./.github/workflows/_ascend_npu_build_torch_npu.yml
121121
with:
122122
runner: ${{ needs.prepare.outputs.runner }}
@@ -129,7 +129,7 @@ jobs:
129129
- prepare
130130
- build-torch
131131
- build
132-
if: ${{ success() || needs.build-torch.result == 'skipped'}}
132+
if: ${{ success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
133133
uses: ./.github/workflows/_ascend_npu_ut.yml
134134
with:
135135
runner: ${{ needs.prepare.outputs.runner }}
@@ -145,7 +145,7 @@ jobs:
145145
- build-torch
146146
- build
147147
- test
148-
if: ${{ success() || needs.build-torch.result == 'skipped'}}
148+
if: ${{ success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
149149
uses: ./.github/workflows/_ascend_npu_benchmark.yml
150150
with:
151151
runner: ${{ needs.prepare.outputs.runner }}

0 commit comments

Comments
 (0)