This is an automated email from the ASF dual-hosted git repository.

ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 50d49ee2df5c [MINOR][INFRA] Skip step `List Python packages` when 
`PYTHON_TO_TEST` is not specified
50d49ee2df5c is described below

commit 50d49ee2df5c01c3042afbcde8ae1718dc82360f
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Tue Dec 24 12:22:06 2024 +0800

    [MINOR][INFRA] Skip step `List Python packages` when `PYTHON_TO_TEST` is 
not specified
    
    ### What changes were proposed in this pull request?
    Skip step `List Python packages` when `PYTHON_TO_TEST` is not specified
    
    ### Why are the changes needed?
    in 3.5 daily build, the `PYTHON_TO_TEST` is empty
    
    https://github.com/apache/spark/actions/runs/12465764579/job/34792186424
    
    
![image](https://github.com/user-attachments/assets/d7da529c-8273-4065-9bef-a29a93ab53aa)
    
    ### Does this PR introduce _any_ user-facing change?
    no, infra-only
    
    ### How was this patch tested?
    will manually check
    
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #49279 from zhengruifeng/infra_skip_list.
    
    Authored-by: Ruifeng Zheng <[email protected]>
    Signed-off-by: Ruifeng Zheng <[email protected]>
---
 .github/workflows/build_and_test.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 758deca93c82..9900fbf6d82c 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -584,6 +584,7 @@ jobs:
         distribution: zulu
         java-version: ${{ matrix.java }}
     - name: List Python packages (${{ env.PYTHON_TO_TEST }})
+      if: ${{ env.PYTHON_TO_TEST != '' }}
       env: ${{ fromJSON(inputs.envs) }}
       shell: 'script -q -e -c "bash {0}"'
       run: |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to