File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ jobs:
113
113
114
114
# this tests that all integration tests are successful
115
115
integration_tests :
116
- name : Integration Tests (Rust ${{matrix.rust.name}} with ${{matrix.http-backend}})
116
+ name : Integration Tests (Rust ${{matrix.rust.name}} with ${{matrix.http-backend}} and ${{matrix.time-lib}} )
117
117
runs-on : ubuntu-latest
118
118
continue-on-error : ${{matrix.rust.nightly}}
119
119
strategy :
@@ -124,10 +124,6 @@ jobs:
124
124
toolchain : stable
125
125
nightly : false
126
126
http-backend :
127
- - curl-client
128
- - h1-client
129
- - h1-client-rustls
130
- - hyper-client
131
127
- reqwest-client-rustls
132
128
- reqwest-client-native-tls
133
129
- reqwest-client-native-tls-vendored
@@ -172,9 +168,17 @@ jobs:
172
168
key : " ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
173
169
- name : Run tests
174
170
run : |
171
+ set -euo pipefail
172
+
173
+ FEATURES="serde derive chrono time ${HTTP_BACKEND}"
174
+
175
175
for test in integration_tests{,_v2}
176
176
do
177
- cargo test -p influxdb --no-default-features --features 'chrono time serde derive ${{matrix.http-backend}}' --no-fail-fast --test $test
177
+ cargo test -p influxdb \
178
+ --no-default-features \
179
+ --features "$FEATURES" \
180
+ --no-fail-fast \
181
+ --test "$test"
178
182
done
179
183
180
184
# this uses cargo-tarpaulin to inspect the code coverage
You can’t perform that action at this time.
0 commit comments