Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
76e59088
"src/diffusers/schedulers/scheduling_plms.py" did not exist on "fe3137304bcd75afc3350ee85ee28067a24e7bb7"
Unverified
Commit
76e59088
authored
Aug 01, 2024
by
Ying Sheng
Committed by
GitHub
Aug 01, 2024
Browse files
Add more unit tests to CI (#880)
parent
12ce3bef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
.github/workflows/e2e-test.yml
.github/workflows/e2e-test.yml
+5
-2
.github/workflows/unit-test.yml
.github/workflows/unit-test.yml
+10
-0
No files found.
.github/workflows/
pr-
e2e-test.yml
→
.github/workflows/e2e-test.yml
View file @
76e59088
name
:
PR
E2E Test
name
:
E2E Test
on
:
on
:
push
:
push
:
branches
:
[
main
]
branches
:
[
main
]
paths
:
paths
:
-
"
python/sglang/**"
-
"
python/sglang/**"
-
"
test/**"
pull_request
:
pull_request
:
branches
:
[
main
]
branches
:
[
main
]
paths
:
paths
:
-
"
python/sglang/**"
-
"
python/sglang/**"
-
"
test/**"
workflow_dispatch
:
workflow_dispatch
:
concurrency
:
concurrency
:
group
:
pr-
e2e-test-${{ github.ref }}
group
:
e2e-test-${{ github.ref }}
cancel-in-progress
:
true
cancel-in-progress
:
true
jobs
:
jobs
:
...
@@ -29,6 +31,7 @@ jobs:
...
@@ -29,6 +31,7 @@ jobs:
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
cd /data/zhyncs/venv && source ./bin/activate && cd -
cd /data/zhyncs/venv && source ./bin/activate && cd -
pip cache purge
pip cache purge
pip install --upgrade pip
pip install --upgrade pip
pip install -e "python[all]"
pip install -e "python[all]"
...
...
.github/workflows/unit-test.yml
View file @
76e59088
...
@@ -21,6 +21,9 @@ jobs:
...
@@ -21,6 +21,9 @@ jobs:
unit-test
:
unit-test
:
runs-on
:
self-hosted
runs-on
:
self-hosted
env
:
HF_TOKEN
:
${{ secrets.HF_TOKEN }}
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
...
@@ -49,3 +52,10 @@ jobs:
...
@@ -49,3 +52,10 @@ jobs:
cd test/lang
cd test/lang
python3 test_srt_backend.py
python3 test_srt_backend.py
-
name
:
Test OpenAI API Server
run
:
|
cd /data/zhyncs/venv && source ./bin/activate && cd -
cd test/srt
python3 test_openai_server.py
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment