From 949bb5c8352a6ba8e721bf2cd05e2955f78d39b0 Mon Sep 17 00:00:00 2001 From: Wenxuan Tan Date: Wed, 25 Jun 2025 14:07:51 -0500 Subject: [PATCH] [CI] Fix CI checks (#553) --- .github/workflows/pr-test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 99b54b6b7..87fe89ecd 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -212,8 +212,7 @@ jobs: ssim-test: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || - (github.event_name == 'workflow_dispatch' && github.event.inputs.run_ssim_test == 'true') + github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_ssim_test == 'true') strategy: fail-fast: false matrix: @@ -239,7 +238,7 @@ jobs: training-test: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || + (github.event_name != 'workflow_dispatch' && needs.change-filter.outputs.training-test == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_training_test == 'true') uses: ./.github/workflows/runpod-test.yml with: @@ -259,7 +258,7 @@ jobs: training-test-VSA: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || + (github.event_name != 'workflow_dispatch' && needs.change-filter.outputs.training-test-VSA == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_training_test_VSA == 'true') uses: ./.github/workflows/runpod-test.yml with: @@ -279,7 +278,7 @@ jobs: inference-test-STA: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || + (github.event_name != 'workflow_dispatch' && needs.change-filter.outputs.inference-test-STA == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_inference_test_STA == 'true') uses: ./.github/workflows/runpod-test.yml with: @@ -298,7 +297,7 @@ jobs: precision-test-STA: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || + (github.event_name != 'workflow_dispatch' && needs.change-filter.outputs.precision-test-STA == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_precision_test_STA == 'true') uses: ./.github/workflows/runpod-test.yml with: @@ -317,7 +316,7 @@ jobs: precision-test-VSA: needs: change-filter if: >- - (github.event_name != 'workflow_dispatch' && github.event.pull_request.draft == false) || + (github.event_name != 'workflow_dispatch' && needs.change-filter.outputs.precision-test-VSA == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.run_precision_test_VSA == 'true') uses: ./.github/workflows/runpod-test.yml with: