[test] update test cmd (#9544)

Co-authored-by: frozenleaves <frozen@Mac.local>
Co-authored-by: Yaowei Zheng <hiyouga@buaa.edu.cn>
This commit is contained in:
浮梦 2025-11-27 17:59:42 +08:00 committed by GitHub
parent 955396e8a5
commit d1f585f80a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,7 @@ on:
paths: paths:
- "**/*.py" - "**/*.py"
- "requirements.txt" - "requirements.txt"
- "Makefile"
- ".github/workflows/*.yml" - ".github/workflows/*.yml"
pull_request: pull_request:
branches: branches:
@ -15,6 +16,7 @@ on:
paths: paths:
- "**/*.py" - "**/*.py"
- "requirements.txt" - "requirements.txt"
- "Makefile"
- ".github/workflows/*.yml" - ".github/workflows/*.yml"
jobs: jobs:

View File

@ -21,4 +21,4 @@ style:
ruff format $(check_dirs) ruff format $(check_dirs)
test: test:
CUDA_VISIBLE_DEVICES= WANDB_DISABLED=true pytest -vv tests/ CUDA_VISIBLE_DEVICES= ASCEND_RT_VISIBLE_DEVICES=0 WANDB_DISABLED=true pytest -vv --import-mode=importlib tests/ tests_v1/

View File

@ -0,0 +1 @@