Skip to content

Commit 583def1

Browse files
committed
Add GitHub CI
1 parent 3cfa6de commit 583def1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
name: Rust ${{matrix.rust}}
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
rust: [stable, nightly, 1.30.0, 1.35.0, 1.40.0, 1.49.0]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: dtolnay/rust-toolchain@master
18+
with:
19+
toolchain: ${{matrix.rust}}
20+
- run: cargo check
21+
- run: cargo test
22+
- run: cd extras/data-tests && cargo run --release

0 commit comments

Comments
 (0)