Skip to content

Commit fce1fd4

Browse files
committed
Add a github action to test bitvec
1 parent 5fb8550 commit fce1fd4

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: All Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
test:
11+
name: Test
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: ubuntu-latest
16+
rust:
17+
- stable
18+
- beta
19+
- nightly
20+
- "1.63"
21+
steps:
22+
- uses: actions/checkout@v1
23+
- uses: dtolnay/rust-toolchain@master
24+
with:
25+
toolchain: ${{ matrix.rust }}
26+
- run: cargo test
27+
28+
docs:
29+
name: docs
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v1
33+
- uses: dtolnay/rust-toolchain@master
34+
with:
35+
toolchain: stable
36+
components: clippy
37+
38+
- name: Check documentation
39+
env:
40+
RUSTDOCFLAGS: -D warnings
41+
run: cargo doc --no-deps --document-private-items --workspace

0 commit comments

Comments
 (0)