File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 81
81
command : test
82
82
args : --all-features
83
83
84
+ test-feature :
85
+ needs : [check]
86
+ name : Test Suite, only some features enabled
87
+ runs-on : ubuntu-latest
88
+ strategy :
89
+ matrix :
90
+ rust :
91
+ - stable
92
+ feature :
93
+ - json
94
+ - yaml
95
+ - hjson
96
+ - ini
97
+ - json5
98
+ - preserve_order
99
+ steps :
100
+ - name : Checkout sources
101
+ uses : actions/checkout@v2
102
+
103
+ - name : Install toolchain
104
+ uses : actions-rs/toolchain@v1
105
+ with :
106
+ toolchain : ${{ matrix.rust }}
107
+ override : true
108
+
109
+ - name : Run cargo test ${{ matrix.feature }}
110
+ uses : actions-rs/cargo@v1
111
+ with :
112
+ command : test
113
+ args : --no-default-features --features ${{ matrix.feature }}
114
+
84
115
fmt :
85
116
needs : [check]
86
117
name : Rustfmt
You can’t perform that action at this time.
0 commit comments