[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:
6
.github/workflows/actionlint.yml
vendored
6
.github/workflows/actionlint.yml
vendored
@@ -19,14 +19,16 @@ name: Lint GitHub Actions workflows
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/*.ya?ml'
|
- '.github/workflows/*.ya?ml'
|
||||||
- '.github/workflows/actionlint.*'
|
- '.github/workflows/actionlint.*'
|
||||||
- '.github/workflows/matchers/actionlint.json'
|
- '.github/workflows/matchers/actionlint.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/*.ya?ml'
|
- '.github/workflows/*.ya?ml'
|
||||||
- '.github/workflows/actionlint.*'
|
- '.github/workflows/actionlint.*'
|
||||||
|
|||||||
6
.github/workflows/mypy.yaml
vendored
6
.github/workflows/mypy.yaml
vendored
@@ -22,7 +22,8 @@ on:
|
|||||||
# but only for the main branch
|
# but only for the main branch
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
- '.github/workflows/mypy.yaml'
|
- '.github/workflows/mypy.yaml'
|
||||||
@@ -30,7 +31,8 @@ on:
|
|||||||
- 'mypy.ini'
|
- 'mypy.ini'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
# This workflow is only relevant when one of the following files changes.
|
# This workflow is only relevant when one of the following files changes.
|
||||||
# However, we have github configured to expect and require this workflow
|
# However, we have github configured to expect and require this workflow
|
||||||
# to run and pass before github with auto-merge a pull request. Until github
|
# to run and pass before github with auto-merge a pull request. Until github
|
||||||
|
|||||||
6
.github/workflows/ruff.yml
vendored
6
.github/workflows/ruff.yml
vendored
@@ -22,7 +22,8 @@ on:
|
|||||||
# but only for the main branch
|
# but only for the main branch
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- "**/*.py"
|
- "**/*.py"
|
||||||
- requirements-lint.txt
|
- requirements-lint.txt
|
||||||
@@ -30,7 +31,8 @@ on:
|
|||||||
- .github/workflows/ruff.yml
|
- .github/workflows/ruff.yml
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ruff:
|
ruff:
|
||||||
|
|||||||
6
.github/workflows/shellcheck.yml
vendored
6
.github/workflows/shellcheck.yml
vendored
@@ -19,13 +19,15 @@ name: Lint shell scripts
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '**/*.sh'
|
- '**/*.sh'
|
||||||
- '.github/workflows/shellcheck.yml'
|
- '.github/workflows/shellcheck.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '**/*.sh'
|
- '**/*.sh'
|
||||||
- '.github/workflows/shellcheck.yml'
|
- '.github/workflows/shellcheck.yml'
|
||||||
|
|||||||
16
.github/workflows/vllm_ascend_test.yaml
vendored
16
.github/workflows/vllm_ascend_test.yaml
vendored
@@ -20,7 +20,8 @@ name: 'e2e test'
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '*.txt'
|
- '*.txt'
|
||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
@@ -28,7 +29,8 @@ on:
|
|||||||
- '!docs/**'
|
- '!docs/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- '*.txt'
|
- '*.txt'
|
||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
@@ -100,6 +102,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -e .
|
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
|
- name: Run vllm-project/vllm-ascend test
|
||||||
run: |
|
run: |
|
||||||
pytest -sv tests
|
pytest -sv tests
|
||||||
|
|||||||
6
.github/workflows/yapf.yml
vendored
6
.github/workflows/yapf.yml
vendored
@@ -22,13 +22,15 @@ on:
|
|||||||
# but only for the main branch
|
# but only for the main branch
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- "**/*.py"
|
- "**/*.py"
|
||||||
- .github/workflows/yapf.yml
|
- .github/workflows/yapf.yml
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
- '*-dev'
|
||||||
paths:
|
paths:
|
||||||
- "**/*.py"
|
- "**/*.py"
|
||||||
- .github/workflows/yapf.yml
|
- .github/workflows/yapf.yml
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
|
wget
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ norecursedirs =
|
|||||||
vllm-empty/tests/kernels
|
vllm-empty/tests/kernels
|
||||||
vllm-empty/tests/quantization
|
vllm-empty/tests/quantization
|
||||||
vllm-empty/tests/tool_use
|
vllm-empty/tests/tool_use
|
||||||
vllm-empty/tests/runai_model_streamer
|
vllm-empty/tests/runai_model_streamer_test
|
||||||
vllm-empty/tests/kv_transfer
|
vllm-empty/tests/kv_transfer
|
||||||
vllm-empty/tests/plugins
|
vllm-empty/tests/plugins
|
||||||
vllm-empty/tests/plugins_tests
|
vllm-empty/tests/plugins_tests
|
||||||
|
|||||||
@@ -2,4 +2,3 @@
|
|||||||
modelscope
|
modelscope
|
||||||
pytest >= 6.0
|
pytest >= 6.0
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,3 @@ pyyaml
|
|||||||
scipy
|
scipy
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
torch-npu >= 2.5.1rc1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user