Skip to content

Commit 6caa61d

Browse files
committed
Setup testing via github actions
1 parent 44a912a commit 6caa61d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,24 @@ jobs:
2020
2121
- name: Run clippy
2222
run: cargo clippy --all --all-features -- -Dwarnings
23+
24+
test:
25+
name: Test
26+
runs-on: ubuntu-latest
27+
28+
strategy:
29+
matrix:
30+
toolchain: [stable, nightly]
31+
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v2
35+
36+
- name: Install rust
37+
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
38+
39+
- name: Build
40+
run: cargo build --all
41+
42+
- name: Test
43+
run: cargo test --all

0 commit comments

Comments
 (0)