Skip to content

Commit d922799

Browse files
committed
Fix issues in check-run-job job.
1 parent cdf8f4f commit d922799

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/integration_test_8gpu_features.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ permissions:
2727
jobs:
2828
# checks if job should run for ROCm
2929
check-run-job:
30-
matrix:
30+
strategy:
31+
matrix:
3132
include:
3233
- name: cuda
3334
runner: linux.g5.48xlarge.nvidia.gpu
3435
gpu-arch-type: cuda
3536
- name: rocm
3637
runner: linux.rocm.gpu.gfx942.8
3738
gpu-arch-type: rocm
39+
runs-on: ${{ matrix.runner }}
3840
outputs:
3941
run_job: ${{ steps.set-flag.outputs.run_job }}
4042
steps:
@@ -51,7 +53,7 @@ jobs:
5153
# runs the test
5254
build-test:
5355
needs: check-run-job
54-
if: ${{ needs.check-runner.outputs.run_job == '1' }}
56+
if: ${{ needs.check-run-job.outputs.run_job == '1' }}
5557
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
5658
strategy:
5759
fail-fast: false

0 commit comments

Comments
 (0)