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
c30976fb
Unverified
Commit
c30976fb
authored
Mar 16, 2025
by
Lianmin Zheng
Committed by
GitHub
Mar 16, 2025
Browse files
Fix finish step for pr tests and notebook tests (#4467)
parent
1a3fa75f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
5 deletions
+41
-5
.github/workflows/execute-notebook.yml
.github/workflows/execute-notebook.yml
+19
-0
.github/workflows/pr-test-amd.yml
.github/workflows/pr-test-amd.yml
+11
-2
.github/workflows/pr-test-sgl-kernel.yml
.github/workflows/pr-test-sgl-kernel.yml
+11
-2
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+0
-1
No files found.
.github/workflows/execute-notebook.yml
View file @
c30976fb
...
...
@@ -45,3 +45,22 @@ jobs:
cd docs
make clean
make compile
finish
:
needs
:
[
run-all-notebooks
]
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check all dependent job statuses
run
:
|
results=(${{ join(needs.*.result, ' ') }})
for result in "${results[@]}"; do
if [ "$result" = "failure" ] || [ "$result" = "cancelled" ]; then
echo "Job failed with result: $result"
exit 1
fi
done
echo "All jobs completed successfully"
exit 0
.github/workflows/pr-test-amd.yml
View file @
c30976fb
...
...
@@ -102,5 +102,14 @@ jobs:
]
runs-on
:
ubuntu-latest
steps
:
-
name
:
Finish
run
:
echo "This is an empty step to ensure that all jobs are completed."
-
name
:
Check all dependent job statuses
run
:
|
results=(${{ join(needs.*.result, ' ') }})
for result in "${results[@]}"; do
if [ "$result" = "failure" ] || [ "$result" = "cancelled" ]; then
echo "Job failed with result: $result"
exit 1
fi
done
echo "All jobs completed successfully"
exit 0
.github/workflows/pr-test-sgl-kernel.yml
View file @
c30976fb
...
...
@@ -130,5 +130,14 @@ jobs:
needs
:
[
unit-test
,
mla-test
,
lint
]
runs-on
:
ubuntu-latest
steps
:
-
name
:
Finish
run
:
echo "This is an empty step to ensure that all jobs are completed."
-
name
:
Check all dependent job statuses
run
:
|
results=(${{ join(needs.*.result, ' ') }})
for result in "${results[@]}"; do
if [ "$result" = "failure" ] || [ "$result" = "cancelled" ]; then
echo "Job failed with result: $result"
exit 1
fi
done
echo "All jobs completed successfully"
exit 0
.github/workflows/pr-test.yml
View file @
c30976fb
...
...
@@ -337,7 +337,6 @@ jobs:
python3 test_moe_eval_accuracy_large.py
finish
:
if
:
always()
needs
:
[
unit-test-frontend
,
unit-test-backend-1-gpu
,
unit-test-backend-2-gpu
,
performance-test-1-gpu-part-1
,
performance-test-1-gpu-part-2
,
performance-test-2-gpu
,
...
...
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