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:
113113
114114 # this tests that all integration tests are successful
115115 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}} )
117117 runs-on : ubuntu-latest
118118 continue-on-error : ${{matrix.rust.nightly}}
119119 strategy :
@@ -124,10 +124,6 @@ jobs:
124124 toolchain : stable
125125 nightly : false
126126 http-backend :
127- - curl-client
128- - h1-client
129- - h1-client-rustls
130- - hyper-client
131127 - reqwest-client-rustls
132128 - reqwest-client-native-tls
133129 - reqwest-client-native-tls-vendored
@@ -172,9 +168,17 @@ jobs:
172168 key : " ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
173169 - name : Run tests
174170 run : |
171+ set -euo pipefail
172+
173+ FEATURES="serde derive chrono time ${HTTP_BACKEND}"
174+
175175 for test in integration_tests{,_v2}
176176 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"
178182 done
179183
180184 # this uses cargo-tarpaulin to inspect the code coverage
You can’t perform that action at this time.
0 commit comments