[CI] enable CI on all branch (#124)

Enable CI on all branch.
Installing with the torch-npu-2.5.1.dev20250218 so that we could enable
CI on all branch and prepare for merging 0.7.1-dev to main

---------

Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
Mengqing Cao
2025-02-21 16:16:48 +08:00
committed by GitHub
parent fd2cc1b883
commit 36991b2052
10 changed files with 36 additions and 16 deletions

View File

@@ -20,7 +20,8 @@ name: 'e2e test'
on:
push:
branches:
- "main"
- 'main'
- '*-dev'
paths:
- '*.txt'
- '**/*.py'
@@ -28,7 +29,8 @@ on:
- '!docs/**'
pull_request:
branches:
- "main"
- 'main'
- '*-dev'
paths:
- '*.txt'
- '**/*.py'
@@ -100,6 +102,16 @@ jobs:
run: |
pip install -e .
- name: Install torch-npu
run: |
mkdir pta
cd pta
wget https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250218.4/pytorch_v2.5.1_py310.tar.gz
tar -xvf pytorch_v2.5.1_py310.tar.gz
pip install ./torch_npu-2.5.1.dev20250218-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
cd ..
rm -rf pta
- name: Run vllm-project/vllm-ascend test
run: |
pytest -sv tests