Skip to content

Commit 36991b2

Browse files
authored
[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>
1 parent fd2cc1b commit 36991b2

File tree

10 files changed

+36
-16
lines changed

10 files changed

+36
-16
lines changed

.github/workflows/actionlint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ name: Lint GitHub Actions workflows
1919
on:
2020
push:
2121
branches:
22-
- "main"
22+
- 'main'
23+
- '*-dev'
2324
paths:
2425
- '.github/workflows/*.ya?ml'
2526
- '.github/workflows/actionlint.*'
2627
- '.github/workflows/matchers/actionlint.json'
2728
pull_request:
2829
branches:
29-
- "main"
30+
- 'main'
31+
- '*-dev'
3032
paths:
3133
- '.github/workflows/*.ya?ml'
3234
- '.github/workflows/actionlint.*'

.github/workflows/mypy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ on:
2222
# but only for the main branch
2323
push:
2424
branches:
25-
- "main"
25+
- 'main'
26+
- '*-dev'
2627
paths:
2728
- '**/*.py'
2829
- '.github/workflows/mypy.yaml'
2930
- 'tools/mypy.sh'
3031
- 'mypy.ini'
3132
pull_request:
3233
branches:
33-
- "main"
34+
- 'main'
35+
- '*-dev'
3436
# This workflow is only relevant when one of the following files changes.
3537
# However, we have github configured to expect and require this workflow
3638
# to run and pass before github with auto-merge a pull request. Until github

.github/workflows/ruff.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ on:
2222
# but only for the main branch
2323
push:
2424
branches:
25-
- "main"
25+
- 'main'
26+
- '*-dev'
2627
paths:
2728
- "**/*.py"
2829
- requirements-lint.txt
2930
- .github/workflows/matchers/ruff.json
3031
- .github/workflows/ruff.yml
3132
pull_request:
3233
branches:
33-
- "main"
34+
- 'main'
35+
- '*-dev'
3436

3537
jobs:
3638
ruff:

.github/workflows/shellcheck.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ name: Lint shell scripts
1919
on:
2020
push:
2121
branches:
22-
- "main"
22+
- 'main'
23+
- '*-dev'
2324
paths:
2425
- '**/*.sh'
2526
- '.github/workflows/shellcheck.yml'
2627
pull_request:
2728
branches:
28-
- "main"
29+
- 'main'
30+
- '*-dev'
2931
paths:
3032
- '**/*.sh'
3133
- '.github/workflows/shellcheck.yml'

.github/workflows/vllm_ascend_test.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ name: 'e2e test'
2020
on:
2121
push:
2222
branches:
23-
- "main"
23+
- 'main'
24+
- '*-dev'
2425
paths:
2526
- '*.txt'
2627
- '**/*.py'
2728
- '.github/workflows/vllm_ascend_test.yaml'
2829
- '!docs/**'
2930
pull_request:
3031
branches:
31-
- "main"
32+
- 'main'
33+
- '*-dev'
3234
paths:
3335
- '*.txt'
3436
- '**/*.py'
@@ -100,6 +102,16 @@ jobs:
100102
run: |
101103
pip install -e .
102104
105+
- name: Install torch-npu
106+
run: |
107+
mkdir pta
108+
cd pta
109+
wget https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250218.4/pytorch_v2.5.1_py310.tar.gz
110+
tar -xvf pytorch_v2.5.1_py310.tar.gz
111+
pip install ./torch_npu-2.5.1.dev20250218-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
112+
cd ..
113+
rm -rf pta
114+
103115
- name: Run vllm-project/vllm-ascend test
104116
run: |
105117
pytest -sv tests

.github/workflows/yapf.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ on:
2222
# but only for the main branch
2323
push:
2424
branches:
25-
- "main"
25+
- 'main'
26+
- '*-dev'
2627
paths:
2728
- "**/*.py"
2829
- .github/workflows/yapf.yml
2930
pull_request:
3031
branches:
31-
- "main"
32+
- 'main'
33+
- '*-dev'
3234
paths:
3335
- "**/*.py"
3436
- .github/workflows/yapf.yml

packages.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
git
22
vim
3-
3+
wget

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ norecursedirs =
77
vllm-empty/tests/kernels
88
vllm-empty/tests/quantization
99
vllm-empty/tests/tool_use
10-
vllm-empty/tests/runai_model_streamer
10+
vllm-empty/tests/runai_model_streamer_test
1111
vllm-empty/tests/kv_transfer
1212
vllm-empty/tests/plugins
1313
vllm-empty/tests/plugins_tests

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
modelscope
33
pytest >= 6.0
44
pytest-asyncio
5-

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ pyyaml
33
scipy
44
setuptools
55
setuptools-scm
6-
torch-npu >= 2.5.1rc1

0 commit comments

Comments
 (0)