Skip to content

Commit 9e8a768

Browse files
committed
Add cargo-test job
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 parent f7d3e18 commit 9e8a768

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,32 @@ jobs:
3434
command: check
3535

3636

37+
test:
38+
name: test
39+
runs-on: ubuntu-latest
40+
strategy:
41+
matrix:
42+
rust:
43+
- 1.60.0
44+
- stable
45+
- beta
46+
# - nightly
47+
steps:
48+
- name: Checkout sources
49+
uses: actions/checkout@v3
50+
- name: Install toolchain
51+
uses: actions-rs/toolchain@v1
52+
with:
53+
toolchain: ${{ matrix.rust }}
54+
override: true
55+
- uses: swatinem/rust-cache@v1
56+
- name: cargo-test
57+
uses: actions-rs/cargo@v1
58+
with:
59+
command: test
60+
args: --all --all-features
61+
62+
3763
deny:
3864
name: deny
3965
runs-on: ubuntu-latest
@@ -97,6 +123,7 @@ jobs:
97123
- deny
98124
- fmt
99125
- clippy
126+
- test
100127
runs-on: ubuntu-latest
101128
steps:
102129
- name: CI succeeded

0 commit comments

Comments
 (0)