File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,24 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
test :
7
+ name : Test Suite
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ rust :
12
+ - stable
13
+ - beta
14
+ - nightly
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - uses : actions-rs/toolchain@v1
18
+ with :
19
+ toolchain : ${{ matrix.rust }}
20
+ override : true
21
+ - name : Run cargo test
22
+ run : cargo test
23
+
24
+ test-msrv :
7
25
name : Test Suite
8
26
runs-on : ubuntu-latest
9
27
strategy :
25
43
toolchain : ${{ matrix.rust }}
26
44
override : true
27
45
- name : Run cargo test
28
- run : cargo test
46
+ # Exclude doctests here, as we don't want to clutter docs themselves
47
+ # with backwards compatibility workarounds.
48
+ run : cargo test --lib
29
49
30
50
nightly :
31
51
name : Test Suite (nightly features)
You can’t perform that action at this time.
0 commit comments