Skip to content

Commit d811d28

Browse files
committed
Merge branch 'master' into impl_error_stack
2 parents 3708f48 + 794a1fb commit d811d28

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
pull_request:
9+
branches:
10+
- master
11+
12+
workflow_dispatch:
13+
14+
jobs:
15+
test:
16+
name: Run tests
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
22+
23+
- name: Setup Rust toolchain
24+
uses: actions-rust-lang/setup-rust-toolchain@2fcdc490d667999e01ddbbf0f2823181beef6b39
25+
with:
26+
components: rustfmt, clippy
27+
28+
- name: Run RustFMT
29+
uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326
30+
31+
- name: Run Clippy
32+
run: cargo clippy --all-targets --all-features
33+
34+
- name: Run tests
35+
run: cargo test --verbose --all-targets --all-features
36+
37+
- name: Run documentation tests
38+
run: cargo test --verbose --doc --all-features

0 commit comments

Comments
 (0)