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
5da3d21c
Unverified
Commit
5da3d21c
authored
Feb 07, 2025
by
Yineng Zhang
Committed by
GitHub
Feb 07, 2025
Browse files
update pr-test ci (#3376)
parent
f2870376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+5
-1
No files found.
.github/workflows/pr-test.yml
View file @
5da3d21c
...
@@ -4,12 +4,14 @@ on:
...
@@ -4,12 +4,14 @@ on:
push
:
push
:
branches
:
[
main
]
branches
:
[
main
]
paths
:
paths
:
-
"
python/pyproject.toml"
-
"
python/sglang/**"
-
"
python/sglang/**"
-
"
test/**"
-
"
test/**"
-
"
docs/**"
-
"
docs/**"
pull_request
:
pull_request
:
branches
:
[
main
]
branches
:
[
main
]
paths
:
paths
:
-
"
python/pyproject.toml"
-
"
python/sglang/**"
-
"
python/sglang/**"
-
"
test/**"
-
"
test/**"
-
"
docs/**"
-
"
docs/**"
...
@@ -47,10 +49,12 @@ jobs:
...
@@ -47,10 +49,12 @@ jobs:
- 'python/sglang/**'
- 'python/sglang/**'
test:
test:
- 'test/**'
- 'test/**'
pyproject:
- 'python/pyproject.toml'
-
name
:
Set run_tests output
-
name
:
Set run_tests output
id
:
set_run_tests
id
:
set_run_tests
run
:
|
run
:
|
if [ "${{ steps.filter.outputs.sglang }}" == "true" ] || [ "${{ steps.filter.outputs.test }}" == "true" ]; then
if [ "${{ steps.filter.outputs.sglang }}" == "true" ] || [ "${{ steps.filter.outputs.test }}" == "true"
] || [ "${{ steps.filter.outputs.pyproject }}" == "true"
]; then
echo "run_tests=true" >> $GITHUB_OUTPUT
echo "run_tests=true" >> $GITHUB_OUTPUT
else
else
echo "run_tests=false" >> $GITHUB_OUTPUT
echo "run_tests=false" >> $GITHUB_OUTPUT
...
...
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