[CI] balance unit tests (#1977)

This commit is contained in:
Lianmin Zheng
2024-11-09 16:46:14 -08:00
committed by GitHub
parent 9c939a3d8b
commit 520f0094e4
4 changed files with 25 additions and 16 deletions

View File

@@ -47,10 +47,10 @@ jobs:
bash scripts/ci_install_dependency.sh
- name: Run test
timeout-minutes: 20
timeout-minutes: 25
run: |
cd test/srt
python3 run_suite.py --suite minimal --range-begin 0 --range-end 6
python3 run_suite.py --suite minimal --range-begin 0 --range-end 5
unit-test-backend-part-2:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
@@ -64,10 +64,10 @@ jobs:
bash scripts/ci_install_dependency.sh
- name: Run test
timeout-minutes: 20
timeout-minutes: 25
run: |
cd test/srt
python3 run_suite.py --suite minimal --range-begin 6 --range-end 14
python3 run_suite.py --suite minimal --range-begin 5 --range-end 14
unit-test-backend-part-3:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
@@ -81,7 +81,7 @@ jobs:
bash scripts/ci_install_dependency.sh
- name: Run test
timeout-minutes: 20
timeout-minutes: 25
run: |
cd test/srt
python3 run_suite.py --suite minimal --range-begin 14 --range-end 20
@@ -98,7 +98,7 @@ jobs:
bash scripts/ci_install_dependency.sh
- name: Run test
timeout-minutes: 20
timeout-minutes: 25
run: |
cd test/srt
python3 run_suite.py --suite minimal --range-begin 20