-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] use pytest.ini to manage vllm native tests (#5)
### 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 <cmq0113@163.com>
- Loading branch information
1 parent
8cb5615
commit 7d9ae22
Showing
4 changed files
with
54 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,4 +103,4 @@ jobs: | |
- name: Run vllm-project/vllm test | ||
run: | | ||
bash tools/npu-vllm-test.sh | ||
pytest -sv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[pytest] | ||
minversion = 6.0 | ||
norecursedirs = | ||
vllm-empty/tests/prefix_caching | ||
vllm-empty/tests/weight_loading | ||
vllm-empty/tests/samplers | ||
vllm-empty/tests/kernels | ||
vllm-empty/tests/quantization | ||
vllm-empty/tests/tool_use | ||
vllm-empty/tests/runai_model_streamer | ||
vllm-empty/tests/kv_transfer | ||
vllm-empty/tests/plugins | ||
vllm-empty/tests/plugins_tests | ||
vllm-empty/tests/prompt_adapter | ||
vllm-empty/tests/compile | ||
vllm-empty/tests/lora | ||
vllm-empty/tests/models | ||
vllm-empty/tests/multimodal | ||
vllm-empty/tests/standalone_tests | ||
vllm-empty/tests/async_engine | ||
vllm-empty/tests/mq_llm_engine | ||
vllm-empty/tests/tokenization | ||
vllm-empty/tests/core | ||
vllm-empty/tests/tracing | ||
vllm-empty/tests/engine | ||
vllm-empty/tests/tensorizer_loader | ||
vllm-empty/tests/entrypoints | ||
vllm-empty/tests/model_executor | ||
vllm-empty/tests/encoder_decoder | ||
vllm-empty/tests/v1 | ||
vllm-empty/tests/spec_decode | ||
vllm-empty/tests/multi_step | ||
vllm-empty/tests/vllm_test_utils | ||
vllm-empty/tests/tpu | ||
vllm-empty/tests/distributed | ||
vllm-empty/tests/basic_correctness | ||
vllm-empty/tests/worker | ||
vllm-empty/tests/metrics | ||
vllm-empty/tests/neuron | ||
|
||
addopts = --ignore=vllm-empty/tests/test_utils.py | ||
--ignore=vllm-empty/tests/test_config.py | ||
--ignore=vllm-empty/tests/test_scalartype.py | ||
--ignore=vllm-empty/tests/test_embedded_commit.py | ||
--ignore=vllm-empty/tests/test_inputs.py | ||
--ignore=vllm-empty/tests/test_sharded_state_loader.py | ||
--ignore=vllm-empty/tests/test_logger.py | ||
--ignore=vllm-empty/tests/test_logits_processor.py | ||
--ignore=vllm-empty/tests/test_regression.py | ||
|
||
testpaths = | ||
vllm-empty/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-r requirements-lint.txt | ||
modelscope | ||
pytest | ||
pytest >= 6.0 |
Oops, something went wrong.