From 88d24cce8b2c067b4b9053a32593ef8514fcc759 Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Mon, 22 Sep 2025 10:37:53 +0800 Subject: [PATCH] [CI] Enable main based lint check and light ci matrix (#3079) ### What this PR does / why we need it? Followup on https://github.com/vllm-project/vllm-ascend/pull/3064 1. should limit vllm version to the same hash with mypy 2. fix the vllm version bug for e2e light test. ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? CI passed - vLLM version: v0.10.2 - vLLM main: https://github.com/vllm-project/vllm/commit/c60e6137f0bf2034853919b3a9d705d7e06b93cf Signed-off-by: wangxiyuan --- .github/workflows/pre-commit.yml | 5 +++++ .github/workflows/vllm_ascend_test.yaml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 66750f9..bdd2d02 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,6 +2,10 @@ name: pre-commit on: workflow_call: + inputs: + vllm: + required: true + type: string permissions: contents: read @@ -22,6 +26,7 @@ jobs: with: repository: vllm-project/vllm path: ./vllm-empty + ref: ${{ inputs.vllm }} - name: Install vllm working-directory: vllm-empty run: | diff --git a/.github/workflows/vllm_ascend_test.yaml b/.github/workflows/vllm_ascend_test.yaml index 51b136b..9cc9d37 100644 --- a/.github/workflows/vllm_ascend_test.yaml +++ b/.github/workflows/vllm_ascend_test.yaml @@ -41,6 +41,8 @@ concurrency: jobs: lint: uses: ./.github/workflows/pre-commit.yml + with: + vllm: c60e6137f0bf2034853919b3a9d705d7e06b93cf changes: runs-on: ubuntu-latest @@ -143,7 +145,7 @@ jobs: if: ${{ github.event_name == 'pull_request' && needs.lint.result == 'success' && needs.changes.outputs.e2e_tracker == 'true' && !contains(github.event.pull_request.labels.*.name, 'ready') }} uses: ./.github/workflows/_e2e_test.yaml with: - vllm: v0.10.2 + vllm: ${{ matrix.vllm_version }} runner: linux-aarch64-a2 image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.2.rc1-910b-ubuntu22.04-py3.11 type: light