Skip to content

Commit deee87c

Browse files
committedDec 20, 2021
add pull_request trigger and update add note on fail case
1 parent a7a60a5 commit deee87c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎src/doc/src/guide/continuous-integration.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ name: Cargo Build & Test
3030
3131
on:
3232
push:
33+
pull_request:
34+
35+
env:
36+
CARGO_TERM_COLOR: always
3337
3438
jobs:
3539
build_and_test:
@@ -46,9 +50,10 @@ jobs:
4650
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
4751
- run: cargo build --verbose
4852
- run: cargo test --verbose
53+
4954
```
5055

51-
This will test all three release channels. You can also click `"Actions" > "new workflow"` in the GitHub UI and select Rust to add the [default configuration](https://github.com/actions/starter-workflows/blob/main/ci/rust.yml) to your repo. See [GitHub Actions documentation](https://docs.github.com/en/actions) for more information.
56+
This will test all three release channels (note a failure in any toolchain version will fail the entire job). You can also click `"Actions" > "new workflow"` in the GitHub UI and select Rust to add the [default configuration](https://github.com/actions/starter-workflows/blob/main/ci/rust.yml) to your repo. See [GitHub Actions documentation](https://docs.github.com/en/actions) for more information.
5257

5358
### GitLab CI
5459

0 commit comments

Comments
 (0)