|
| 1 | +# |
| 2 | +# Copyright (c) 2025 Huawei Technologies Co., Ltd. All Rights Reserved. |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# This file is a part of the vllm-ascend project. |
| 16 | +# |
| 17 | +name: 'ascend test / vllm 0.11.0' |
| 18 | + |
| 19 | +on: |
| 20 | + # Run 1-card and 2-cards e2e tests per 2h |
| 21 | + schedule: |
| 22 | + - cron: '0 */2 * * *' |
| 23 | + pull_request: |
| 24 | + branches: |
| 25 | + - 'main' |
| 26 | + paths: |
| 27 | + # If we are changing the doctest we should do a PR test |
| 28 | + - 'vllm_ascend_test_full_vllm_0.11.0.yaml' |
| 29 | + workflow_dispatch: |
| 30 | + |
| 31 | +# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitly |
| 32 | +# declared as "shell: bash -el {0}" on steps that need to be properly activated. |
| 33 | +# It's used to activate ascend-toolkit environment variables. |
| 34 | +defaults: |
| 35 | + run: |
| 36 | + shell: bash -el {0} |
| 37 | + |
| 38 | +# only cancel in-progress runs of the same workflow |
| 39 | +# and ignore the lint / 1 card / 4 cards test type |
| 40 | +concurrency: |
| 41 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 42 | + cancel-in-progress: true |
| 43 | + |
| 44 | +jobs: |
| 45 | + e2e-test: |
| 46 | + uses: ./.github/workflows/_e2e_test.yaml |
| 47 | + with: |
| 48 | + vllm: releases/v0.11.0 |
| 49 | + runner: linux-aarch64-a2 |
| 50 | + image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.2.rc1-910b-ubuntu22.04-py3.11 |
| 51 | + type: full |
0 commit comments