Skip to content

Conversation

MengqingCao
Copy link
Collaborator

@MengqingCao MengqingCao commented Feb 5, 2025

What this PR does / why we need it?

Use pytest.ini to manage vllm native tests.
This will convert the original test script whitelist to a blacklist to prevent missing the newly added test scripts of the upstream vLLM.

note: we do not manage the test scripts of vLLM-Ascend in pytest.ini, because if we do so, there will be conflicts between vLLM and vLLM-Ascend's conftest.py.

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

CI passed with new existing test.

jobs:
test:
name: vLLM Ascend test (self-host)
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && contains(github.event.comment.body, 'recheck_pr_test')) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment should be added to on section as well to enable triger

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe some meaningful word like /recheck e2e is better.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thx!

Copy link
Collaborator

@Yikun Yikun Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq: the issue comments triggered test will replace pr test results or not (in the end of this PR CI results)? It seems recheck results only show on action page, is it expected?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MengqingCao https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only

I've tried this and same as @Yikun said, the workflow will be triggered with the latest code of branch main at action, not related to pr.
I think we should solve this in next pr so that we do not block CI development.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

jobs:
test:
name: vLLM Ascend test (self-host)
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && contains(github.event.comment.body, 'recheck_pr_test')) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe some meaningful word like /recheck e2e is better.

jobs:
test:
name: vLLM Ascend test (self-host)
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && contains(github.event.comment.body, 'recheck_pr_test')) }}
Copy link
Collaborator

@Yikun Yikun Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq: the issue comments triggered test will replace pr test results or not (in the end of this PR CI results)? It seems recheck results only show on action page, is it expected?

@Yikun
Copy link
Collaborator

Yikun commented Feb 6, 2025

Copy link
Collaborator

@Yikun Yikun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, compare to https://github.com/vllm-project/vllm-ascend/actions/runs/13178356884/job/36782919013?pr=15 , It seems current all 13 tests are running together rather than 7 tests + 5 tests + 1 tests. and the time reduce from 55s to 18s.

@wangxiyuan wangxiyuan merged commit 7d9ae22 into vllm-project:main Feb 6, 2025
5 checks passed
@MengqingCao MengqingCao deleted the ci branch February 17, 2025 01:21
ttanzhiqiang pushed a commit to ttanzhiqiang/vllm-ascend that referenced this pull request Apr 27, 2025
### What this PR does / why we need it?
Use `pytest.ini` to manage vllm native tests.
This will convert the original test script whitelist to a blacklist to
prevent missing the newly added test scripts of the upstream vLLM.

**note**: _we do **not** manage the test scripts of vLLM-Ascend in
`pytest.ini`, because if we do so, there will be conflicts between vLLM
and vLLM-Ascend's `conftest.py`._
### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
CI passed with new existing test.

Signed-off-by: MengqingCao <[email protected]>
zhangsicheng5 pushed a commit to zhangsicheng5/vllm-ascend that referenced this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants