Skip to content

Commit

Permalink
[CI] enable CI on all branch
Browse files Browse the repository at this point in the history
Signed-off-by: MengqingCao <[email protected]>
  • Loading branch information
MengqingCao committed Feb 20, 2025
1 parent 3a4ce2a commit 1f0bbf2
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ name: Lint GitHub Actions workflows
on:
push:
branches:
- "main"
- "*"
paths:
- '.github/workflows/*.ya?ml'
- '.github/workflows/actionlint.*'
- '.github/workflows/matchers/actionlint.json'
pull_request:
branches:
- "main"
- "*"
paths:
- '.github/workflows/*.ya?ml'
- '.github/workflows/actionlint.*'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ on:
# but only for the main branch
push:
branches:
- "main"
- "*"
paths:
- '**/*.py'
- '.github/workflows/mypy.yaml'
- 'tools/mypy.sh'
- 'mypy.ini'
pull_request:
branches:
- "main"
- "*"
# This workflow is only relevant when one of the following files changes.
# 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ on:
# but only for the main branch
push:
branches:
- "main"
- "*"
paths:
- "**/*.py"
- requirements-lint.txt
- .github/workflows/matchers/ruff.json
- .github/workflows/ruff.yml
pull_request:
branches:
- "main"
- "*"

jobs:
ruff:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ name: Lint shell scripts
on:
push:
branches:
- "main"
- "*"
paths:
- '**/*.sh'
- '.github/workflows/shellcheck.yml'
pull_request:
branches:
- "main"
- "*"
paths:
- '**/*.sh'
- '.github/workflows/shellcheck.yml'
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/vllm_ascend_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ name: 'e2e test'
on:
push:
branches:
- "main"
- "*"
paths:
- '*.txt'
- '**/*.py'
- '.github/workflows/vllm_ascend_test.yaml'
- '!docs/**'
pull_request:
branches:
- "main"
- "*"
paths:
- '*.txt'
- '**/*.py'
Expand Down Expand Up @@ -100,6 +100,14 @@ 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
- name: Run vllm-project/vllm-ascend test
run: |
pytest -sv tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/yapf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ on:
# but only for the main branch
push:
branches:
- "main"
- "*"
paths:
- "**/*.py"
- .github/workflows/yapf.yml
pull_request:
branches:
- "main"
- "*"
paths:
- "**/*.py"
- .github/workflows/yapf.yml
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ pyyaml
scipy
setuptools
setuptools-scm
torch-npu >= 2.5.1rc1

0 comments on commit 1f0bbf2

Please sign in to comment.