diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 0a9f024b9..b6d1a405b 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -162,7 +162,7 @@ jobs: unit-test-frontend: needs: [check-changes, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 1-gpu-runner steps: - name: Checkout code @@ -189,7 +189,7 @@ jobs: unit-test-backend-1-gpu: needs: [check-changes, unit-test-frontend, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 1-gpu-runner strategy: fail-fast: false @@ -220,7 +220,7 @@ jobs: unit-test-backend-2-gpu: needs: [check-changes, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 2-gpu-runner strategy: fail-fast: false @@ -251,7 +251,7 @@ jobs: unit-test-backend-4-gpu: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 4-gpu-runner strategy: fail-fast: false @@ -282,7 +282,7 @@ jobs: unit-test-backend-8-gpu: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 8-gpu-runner strategy: fail-fast: false @@ -313,7 +313,7 @@ jobs: performance-test-1-gpu-part-1: needs: [check-changes, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 1-gpu-runner steps: - name: Checkout code @@ -372,7 +372,7 @@ jobs: performance-test-1-gpu-part-2: needs: [check-changes, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 1-gpu-runner steps: - name: Checkout code @@ -423,7 +423,7 @@ jobs: performance-test-2-gpu: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 2-gpu-runner steps: - name: Checkout code @@ -480,7 +480,7 @@ jobs: accuracy-test-1-gpu: needs: [check-changes, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 1-gpu-runner steps: - name: Checkout code @@ -510,7 +510,7 @@ jobs: accuracy-test-2-gpu: needs: [check-changes, accuracy-test-1-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 2-gpu-runner steps: - name: Checkout code @@ -540,7 +540,7 @@ jobs: unit-test-deepep-4-gpu: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 4-gpu-runner steps: - name: Checkout code @@ -567,7 +567,7 @@ jobs: unit-test-deepep-8-gpu: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: 8-gpu-runner steps: - name: Checkout code @@ -594,7 +594,7 @@ jobs: unit-test-backend-8-gpu-b200: needs: [check-changes, unit-test-backend-2-gpu, sgl-kernel-build-wheels] if: always() && !failure() && !cancelled() && - needs.check-changes.outputs.main_package == 'true' + ((needs.check-changes.outputs.main_package == 'true') || (needs.check-changes.outputs.sgl_kernel == 'true')) runs-on: b200-runner strategy: fail-fast: false