Skip to content

Commit 23557a5

Browse files
committed
Run tests also on CI
1 parent 2f292c5 commit 23557a5

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/test.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
5+
6+
name: Test Suite
7+
8+
jobs:
9+
ci-linux:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
rust: [stable]
14+
15+
include:
16+
- rust: 1.36.0 # Higher than the MSRV due to dependencies.
17+
TARGET: x86_64-unknown-linux-gnu
18+
19+
# Test nightly but don't fail
20+
- rust: nightly
21+
experimental: true
22+
TARGET: x86_64-unknown-linux-gnu
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions-rs/toolchain@v1
27+
with:
28+
profile: minimal
29+
toolchain: ${{ matrix.rust }}
30+
target: ${{ matrix.TARGET }}
31+
override: true
32+
- uses: actions-rs/cargo@v1
33+
with:
34+
command: test

0 commit comments

Comments
 (0)