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
a1f32867
Unverified
Commit
a1f32867
authored
Nov 09, 2024
by
Lianmin Zheng
Committed by
GitHub
Nov 09, 2024
Browse files
Update pr-test-rust.yml to add a "finish" step (#1975)
parent
760552e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
.github/workflows/pr-test-rust.yml
.github/workflows/pr-test-rust.yml
+9
-0
No files found.
.github/workflows/pr-test-rust.yml
View file @
a1f32867
...
@@ -26,14 +26,23 @@ jobs:
...
@@ -26,14 +26,23 @@ jobs:
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
bash scripts/ci_install_rust.sh
bash scripts/ci_install_rust.sh
-
name
:
Run fmt
-
name
:
Run fmt
run
:
|
run
:
|
source "$HOME/.cargo/env"
source "$HOME/.cargo/env"
cd rust/
cd rust/
cargo fmt -- --check
cargo fmt -- --check
-
name
:
Run test
-
name
:
Run test
timeout-minutes
:
20
timeout-minutes
:
20
run
:
|
run
:
|
source "$HOME/.cargo/env"
source "$HOME/.cargo/env"
cd rust/
cd rust/
cargo test
cargo test
finish
:
needs
:
[
unit-test-rust
]
runs-on
:
ubuntu-latest
steps
:
-
name
:
Finish
run
:
echo "This is an empty step to ensure that all jobs are completed."
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