Improve the structure of CI (#911)
This commit is contained in:
19
.github/workflows/unit-test.yml
vendored
19
.github/workflows/unit-test.yml
vendored
@@ -37,23 +37,12 @@ jobs:
|
||||
pip install --upgrade transformers
|
||||
pip install accelerate
|
||||
|
||||
- name: Test Frontend Language with SRT Backend
|
||||
- name: Test Frontend Language
|
||||
run: |
|
||||
cd test/lang
|
||||
python3 test_srt_backend.py
|
||||
python3 run_suite.py --suite minimal
|
||||
|
||||
- name: Test OpenAI API Server
|
||||
- name: Test Backend Runtime
|
||||
run: |
|
||||
cd test/srt
|
||||
python3 test_openai_server.py
|
||||
|
||||
- name: Test Accuracy
|
||||
run: |
|
||||
cd test/srt
|
||||
python3 test_eval_accuracy.py
|
||||
python3 models/test_causal_models.py
|
||||
|
||||
- name: Test Frontend Language with OpenAI Backend
|
||||
run: |
|
||||
cd test/lang
|
||||
python3 test_openai_backend.py
|
||||
python3 run_suite.py --suite minimal
|
||||
|
||||
Reference in New Issue
Block a user