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
06d12b39
Unverified
Commit
06d12b39
authored
Mar 16, 2025
by
Lianmin Zheng
Committed by
GitHub
Mar 16, 2025
Browse files
Remove filter for pr-tests (#4468)
parent
c30976fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
55 deletions
+8
-55
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+8
-55
No files found.
.github/workflows/pr-test.yml
View file @
06d12b39
...
@@ -33,42 +33,9 @@ concurrency:
...
@@ -33,42 +33,9 @@ concurrency:
cancel-in-progress
:
true
cancel-in-progress
:
true
jobs
:
jobs
:
filter
:
runs-on
:
ubuntu-latest
outputs
:
run_tests
:
${{ steps.set_run_tests.outputs.run_tests }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
-
name
:
Filter changes
id
:
filter
uses
:
dorny/paths-filter@v2
with
:
filters
:
|
docs:
- 'docs/**'
scripts:
- 'scripts/**'
sglang:
- 'python/sglang/**'
test:
- 'test/**'
pyproject:
- 'python/pyproject.toml'
-
name
:
Set run_tests output
id
:
set_run_tests
run
:
|
if [ "${{ steps.filter.outputs.sglang }}" == "true" ] || [ "${{ steps.filter.outputs.test }}" == "true" ] || [ "${{ steps.filter.outputs.pyproject }}" == "true" ]; then
echo "run_tests=true" >> $GITHUB_OUTPUT
else
echo "run_tests=false" >> $GITHUB_OUTPUT
fi
unit-test-frontend
:
unit-test-frontend
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
1-gpu-runner
runs-on
:
1-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -87,10 +54,8 @@ jobs:
...
@@ -87,10 +54,8 @@ jobs:
python3 run_suite.py --suite per-commit
python3 run_suite.py --suite per-commit
unit-test-backend-1-gpu
:
unit-test-backend-1-gpu
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
1-gpu-runner
runs-on
:
1-gpu-runner
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
...
@@ -113,10 +78,8 @@ jobs:
...
@@ -113,10 +78,8 @@ jobs:
python3 run_suite.py --suite per-commit --auto-partition-id ${{ matrix.part }} --auto-partition-size 7
python3 run_suite.py --suite per-commit --auto-partition-id ${{ matrix.part }} --auto-partition-size 7
unit-test-backend-2-gpu
:
unit-test-backend-2-gpu
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
2-gpu-runner
runs-on
:
2-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -165,10 +128,8 @@ jobs:
...
@@ -165,10 +128,8 @@ jobs:
python3 test_mla_tp.py
python3 test_mla_tp.py
performance-test-1-gpu-part-1
:
performance-test-1-gpu-part-1
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
1-gpu-runner
runs-on
:
1-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -211,10 +172,8 @@ jobs:
...
@@ -211,10 +172,8 @@ jobs:
python3 -m unittest test_bench_serving.TestBenchServing.test_online_latency_eagle
python3 -m unittest test_bench_serving.TestBenchServing.test_online_latency_eagle
performance-test-1-gpu-part-2
:
performance-test-1-gpu-part-2
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
1-gpu-runner
runs-on
:
1-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -245,10 +204,8 @@ jobs:
...
@@ -245,10 +204,8 @@ jobs:
python3 -m unittest test_bench_serving.TestBenchServing.test_offline_throughput_default_fp8
python3 -m unittest test_bench_serving.TestBenchServing.test_offline_throughput_default_fp8
performance-test-2-gpu
:
performance-test-2-gpu
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
2-gpu-runner
runs-on
:
2-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -287,10 +244,8 @@ jobs:
...
@@ -287,10 +244,8 @@ jobs:
python3 -m unittest test_bench_serving.TestBenchServing.test_moe_offline_throughput_without_radix_cache
python3 -m unittest test_bench_serving.TestBenchServing.test_moe_offline_throughput_without_radix_cache
accuracy-test-1-gpu
:
accuracy-test-1-gpu
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
1-gpu-runner
runs-on
:
1-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -312,10 +267,8 @@ jobs:
...
@@ -312,10 +267,8 @@ jobs:
python3 test_eval_accuracy_large.py
python3 test_eval_accuracy_large.py
accuracy-test-2-gpu
:
accuracy-test-2-gpu
:
needs
:
filter
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
&&
github.event.pull_request.draft ==
false
needs.filter.outputs.run_tests == 'true'
runs-on
:
2-gpu-runner
runs-on
:
2-gpu-runner
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
...
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