Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: PR E2E Test
name: E2E Test

on:
push:
branches: [ main ]
paths:
- "python/sglang/**"
- "test/**"
pull_request:
branches: [ main ]
paths:
- "python/sglang/**"
- "test/**"
workflow_dispatch:

concurrency:
group: pr-e2e-test-${{ github.ref }}
group: e2e-test-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand All @@ -29,6 +31,7 @@ jobs:
- name: Install dependencies
run: |
cd /data/zhyncs/venv && source ./bin/activate && cd -

pip cache purge
pip install --upgrade pip
pip install -e "python[all]"
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
unit-test:
runs-on: self-hosted

env:
HF_TOKEN : ${{ secrets.HF_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -49,3 +52,10 @@ jobs:

cd test/lang
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