• Lei Wang's avatar
    [CI] Update CI workflow to use Python 3.12 (#679) · eb026b79
    Lei Wang authored
    * Update CI workflow to use Python 3.12 and enable build isolation for pip installations
    
    - Changed the Python version in the CI configuration from 3.9 to 3.12 to ensure compatibility with the latest features and improvements.
    - Updated the `PIP_NO_BUILD_ISOLATION` environment variable from `0` to `1` in the CI configuration, allowing pip to install testing requirements with build isolation enabled, which enhances the installation process during CI runs.
    
    * Update CI workflow to trigger on pull requests instead of pull_request_target
    
    - Changed the event trigger in the CI configuration from `pull_request_target` to `pull_request` to ensure the workflow runs on pull requests, enhancing the integration process.
    
    * Refactor CI workflow to remove unnecessary repository and token settings
    
    - Removed the repository and token parameters from the checkout step in the CI configuration, simplifying the workflow setup and improving security by not exposing sensitive information.
    
    * Remove pip install command from CI workflow to streamline installation process
    
    * Refactor reshape functions and tests for shared memory operations
    
    - Renamed and updated `reshape_test_smem` to `reshape_test_smem_1d_2_2d` and `run_reshape_smem` to `run_reshape_smem_1d_2_2d` for clarity.
    - Introduced a new reshape function `reshape_test_smem_2d_2_1d` and its corresponding runner `run_reshape_smem_2d_2_1d`.
    - Updated tests to reflect the new function names and added a test for the 2D to 1D reshape functionality, enhancing test coverage and clarity.
    eb026b79
ci.yml 3.82 KB