Update pr-test-rust.yml to add a "finish" step (#1975)
This commit is contained in:
9
.github/workflows/pr-test-rust.yml
vendored
9
.github/workflows/pr-test-rust.yml
vendored
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user